CDT++
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
Functions
Move_command_test.cpp File Reference

Tests of MoveCommand, that is, that moves are handled properly. More...

#include "Move_command.hpp"
#include <doctest/doctest.h>
#include <fmt/ranges.h>
+ Include dependency graph for Move_command_test.cpp:

Go to the source code of this file.

Functions

 GIVEN ("A MoveCommand.")
 
 GIVEN ("A valid manifold.")
 
 SCENARIO ("Executing multiple moves on the queue" *doctest::test_suite("move_command"))
 
 SCENARIO ("Invoking a move with a function pointer" *doctest::test_suite("move_command"))
 
 SCENARIO ("Invoking a move with apply_move and a function pointer" *doctest::test_suite("move_command"))
 

Detailed Description

Tests of MoveCommand, that is, that moves are handled properly.

Author
Adam Getchell

Definition in file Move_command_test.cpp.

Function Documentation

◆ GIVEN() [1/2]

GIVEN ( "A MoveCommand."  )

Definition at line 22 of file Move_command_test.cpp.

◆ GIVEN() [2/2]

GIVEN ( "A valid manifold."  )
Initial value:
{
spdlog::debug("MoveCommand initialization.\n")

Definition at line 102 of file Move_command_test.cpp.

◆ SCENARIO() [1/3]

SCENARIO ( "Executing multiple moves on the queue" *  doctest::test_suite"move_command")

Definition at line 416 of file Move_command_test.cpp.

◆ SCENARIO() [2/3]

SCENARIO ( "Invoking a move with a function pointer" *  doctest::test_suite"move_command")

Definition at line 70 of file Move_command_test.cpp.

◆ SCENARIO() [3/3]

SCENARIO ( "Invoking a move with apply_move and a function pointer" *  doctest::test_suite"move_command")

Definition at line 129 of file Move_command_test.cpp.