File 001-TestCase_Requirements.cpp
FileList > COD_ENG_OUT_arduino_code > test > 001-TestCase_Requirements.cpp
Go to the source code of this file
This file contains the test cases for the requirements of the game logic. More...
#include <catch2/catch_test_macros.hpp>
#include <cstdint>
#include <iostream>
#include <logic.hpp>
Public Functions
Type | Name |
---|---|
TEST_CASE ("Test Move_Token_Kick", "") |
|
TEST_CASE ("Test Home_Position", "") |
|
TEST_CASE ("Test Get_Player_Status", "") |
|
TEST_CASE ("Test occupied flag in Auto_Move", "") |
|
TEST_CASE ("Test occupied flag in Auto_Move with start position", "") |
|
TEST_CASE ("Test Move into Finish", "") |
|
TEST_CASE ("Test Kick_Token_From_Start_Position", "") |
|
TEST_CASE ("Test Skip_And_Kick_Tokens", "") |
|
TEST_CASE ("Test if player throws himself (Requirement 54)", "") |
|
TEST_CASE ("Test if player throws himself in and before finish (Requirement 54)", "") |
Detailed Description
This file contains multiple game situations and checks if the game logic behaves as expected and as defined in the requirements.
Public Functions Documentation
function TEST_CASE
TEST_CASE (
"Test Move_Token_Kick",
""
)
function TEST_CASE
TEST_CASE (
"Test Home_Position",
""
)
function TEST_CASE
TEST_CASE (
"Test Get_Player_Status",
""
)
function TEST_CASE
TEST_CASE (
"Test occupied flag in Auto_Move",
""
)
function TEST_CASE
TEST_CASE (
"Test occupied flag in Auto_Move with start position",
""
)
function TEST_CASE
TEST_CASE (
"Test Move into Finish",
""
)
function TEST_CASE
TEST_CASE (
"Test Kick_Token_From_Start_Position",
""
)
function TEST_CASE
TEST_CASE (
"Test Skip_And_Kick_Tokens",
""
)
function TEST_CASE
TEST_CASE (
"Test if player throws himself (Requirement 54)",
""
)
function TEST_CASE
TEST_CASE (
"Test if player throws himself in and before finish (Requirement 54)",
""
)
The documentation for this class was generated from the following file /home/runner/work/Arduino_DHBW_Spiel/Arduino_DHBW_Spiel/Engineering/COD_ENG_OUT_arduino_code/test/001-TestCase_Requirements.cpp