Skip to content

File 003-TestCase_Session_and_Player.cpp

FileList > COD_ENG_OUT_arduino_code > test > 003-TestCase_Session_and_Player.cpp

Go to the source code of this file

Test cases for various situations during a game. More...

  • #include <catch2/catch_test_macros.hpp>
  • #include <cstdint>
  • #include <iostream>
  • #include <logic.hpp>

Public Functions

Type Name
TEST_CASE ("Test game constructer", "")
TEST_CASE ("Test Set_Token", "")
TEST_CASE ("Test Move_Token", "")
TEST_CASE ("Test Is_Startfield_occupied...", "")
TEST_CASE ("Test parallel Move into Finish", "")
TEST_CASE ("Test Get_Player_Progress V1", "")

Detailed Description

This file contains multiple game situations for testing the behavior of the game logic. It covers various situations in which the players have to make decisions and move tokens with different start conditions.

Public Functions Documentation

function TEST_CASE

TEST_CASE (
    "Test game constructer",
    ""
) 

function TEST_CASE

TEST_CASE (
    "Test Set_Token",
    ""
) 

function TEST_CASE

TEST_CASE (
    "Test Move_Token ",
    ""
) 

function TEST_CASE

TEST_CASE (
    "Test Is_Startfield_occupied...",
    ""
) 

function TEST_CASE

TEST_CASE (
    "Test parallel Move into Finish",
    ""
) 

function TEST_CASE

TEST_CASE (
    "Test Get_Player_Progress V1",
    ""
) 

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/003-TestCase_Session_and_Player.cpp