@ -14,8 +14,6 @@ void tearDown(void) {}
void test_coinflip_x_starts ( void ) {
void test_coinflip_x_starts ( void ) {
@ -36,9 +34,9 @@ void test_coinflip_x_starts(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 19 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 18 ) , UNITY_DISPLAY_STYLE_INT ) ;
do { if ( ( game . currentPlayer = = PLAYER_X | | game . currentPlayer = = PLAYER_O ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 20 ) ) ) ; } } while ( 0 ) ;
do { if ( ( game . currentPlayer = = PLAYER_X | | game . currentPlayer = = PLAYER_O ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 19 ) ) ) ; } } while ( 0 ) ;
}
}
@ -64,9 +62,9 @@ void test_coinflip_o_starts(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 31 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 30 ) , UNITY_DISPLAY_STYLE_INT ) ;
do { if ( ( game . currentPlayer = = PLAYER_X | | game . currentPlayer = = PLAYER_O ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 32 ) ) ) ; } } while ( 0 ) ;
do { if ( ( game . currentPlayer = = PLAYER_X | | game . currentPlayer = = PLAYER_O ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 31 ) ) ) ; } } while ( 0 ) ;
}
}
@ -98,7 +96,7 @@ void test_vertical_win(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 46 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 45 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -130,7 +128,7 @@ void test_horizontal_win(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 60 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 59 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -160,7 +158,7 @@ void test_diagonal_win(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 73 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 72 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -192,13 +190,13 @@ void test_valid_move_and_switch(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 87 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 86 ) , UNITY_DISPLAY_STYLE_INT ) ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( PLAYER_O ) ) , ( UNITY_INT ) ( ( game . currentPlayer ) ) , (
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( PLAYER_O ) ) , ( UNITY_INT ) ( ( game . currentPlayer ) ) , (
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 88 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 87 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -232,7 +230,7 @@ void test_invalid_input(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 103 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 102 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -264,7 +262,7 @@ void test_valid_input(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 117 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 116 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -298,7 +296,7 @@ void test_invalid_input_negative_row(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 132 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 131 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -330,7 +328,7 @@ void test_invalid_input_overflow_column(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 146 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 145 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -362,7 +360,7 @@ void test_NumberOfMoves_returns_correct_number_of_moves(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 160 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 159 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -390,7 +388,7 @@ void test_BoardFull_returns_false_when_board_is_not_full(void) {
do { if ( ! ( boardFull ) ) { } else { UnityFail ( ( ( " Expected FALSE Was TRUE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 174 ) ) ) ; } } while ( 0 ) ;
do { if ( ! ( boardFull ) ) { } else { UnityFail ( ( ( " Expected FALSE Was TRUE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 173 ) ) ) ; } } while ( 0 ) ;
}
}
@ -416,7 +414,7 @@ void test_BoardFull_returns_true_when_board_is_full(void) {
do { if ( ( boardFull ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 187 ) ) ) ; } } while ( 0 ) ;
do { if ( ( boardFull ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 186 ) ) ) ; } } while ( 0 ) ;
}
}
@ -446,7 +444,7 @@ void test_CurrentPlayer_returns_correct_player(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 200 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 199 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -474,7 +472,7 @@ void test_FieldEmpty_returns_true_for_empty_field(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 212 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 211 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -504,7 +502,7 @@ void test_FieldEmpty_returns_false_for_nonempty_field(void) {
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 225 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 224 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -536,7 +534,7 @@ void test_calculate_mines_HeightWidthOne(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 239 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 238 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -568,7 +566,7 @@ void test_calculate_mines_WidthOne(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 253 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 252 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -600,7 +598,7 @@ void test_calculate_mines_NormalCase(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 267 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 266 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -642,7 +640,7 @@ void test_end_check_AllUncovered_NoMines(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 286 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 285 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -674,7 +672,7 @@ void test_create_minefield_ValidDimensions(void)
( ( void * ) 0 )
( ( void * ) 0 )
) ) { } else { UnityFail ( ( ( ( " Expected Non-NULL " ) ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( ( UNITY_UINT ) ( 300 ) ) ) ) ; } } while ( 0 ) ;
) ) { } else { UnityFail ( ( ( ( " Expected Non-NULL " ) ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( ( UNITY_UINT ) ( 299 ) ) ) ) ; } } while ( 0 ) ;
for ( int i = 0 ; i < height ; i + + ) {
for ( int i = 0 ; i < height ; i + + ) {
@ -682,7 +680,7 @@ void test_create_minefield_ValidDimensions(void)
( ( void * ) 0 )
( ( void * ) 0 )
) ) { } else { UnityFail ( ( ( ( " Expected Non-NULL " ) ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( ( UNITY_UINT ) ( 302 ) ) ) ) ; } } while ( 0 ) ;
) ) { } else { UnityFail ( ( ( ( " Expected Non-NULL " ) ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( ( UNITY_UINT ) ( 301 ) ) ) ) ; } } while ( 0 ) ;
for ( int j = 0 ; j < width ; j + + ) {
for ( int j = 0 ; j < width ; j + + ) {
@ -690,7 +688,7 @@ void test_create_minefield_ValidDimensions(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 304 ) , UNITY_DISPLAY_STYLE_CHAR ) ;
) , ( UNITY_UINT ) ( 303 ) , UNITY_DISPLAY_STYLE_CHAR ) ;
}
}
@ -736,7 +734,7 @@ void test_calculate_mines_HeightOne(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 325 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 324 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -768,7 +766,7 @@ void test_create_minefield_NegativeDimensions(void)
( ( void * ) 0 )
( ( void * ) 0 )
) ) { } else { UnityFail ( ( ( ( " Expected NULL " ) ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( ( UNITY_UINT ) ( 339 ) ) ) ) ; } } while ( 0 ) ;
) ) { } else { UnityFail ( ( ( ( " Expected NULL " ) ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( ( UNITY_UINT ) ( 338 ) ) ) ) ; } } while ( 0 ) ;
}
}
@ -800,7 +798,7 @@ void test_calculate_mines_HeightZero(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 353 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 352 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -832,7 +830,7 @@ void test_calculate_mines_HeightWidthNumber(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 367 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 366 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -864,7 +862,7 @@ void test_calculate_mines_HeightWidthAgan(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 381 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 380 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -896,7 +894,7 @@ void test_calculate_mines_HeightWidthRoundUp(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 395 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 394 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -928,7 +926,7 @@ void test_calculate_mines_HeightWidthNoRound(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 409 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 408 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -960,10 +958,12 @@ void test_calculate_mines_HeightWidthFinal(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 423 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 422 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
void test_generateRandomNumber_withinValidRange ( void )
void test_generateRandomNumber_withinValidRange ( void )
{
{
@ -980,7 +980,7 @@ void test_generateRandomNumber_withinValidRange(void)
do { if ( ( result > = 1 & & result < = 100 ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 459 ) ) ) ; } } while ( 0 ) ;
do { if ( ( result > = 1 & & result < = 100 ) ) { } else { UnityFail ( ( ( " Expected TRUE Was FALSE " ) ) , ( UNITY_UINT ) ( ( UNITY_UINT ) ( 433 ) ) ) ; } } while ( 0 ) ;
}
}
@ -1010,7 +1010,7 @@ void test_addition(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 472 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 446 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1040,7 +1040,7 @@ void test_subtraction(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 48 5 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 459 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1072,7 +1072,7 @@ void test_multiplication(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 499 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 473 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1102,7 +1102,7 @@ void test_division(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 512 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 486 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1132,7 +1132,7 @@ void test_division_byZero_returnsZero(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 525 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 499 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1162,7 +1162,7 @@ void test_modulo(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 538 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 512 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1192,7 +1192,7 @@ void test_compare_equalNumbers(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 551 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 52 5 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1222,7 +1222,7 @@ void test_compare_aLessThanB(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 564 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 538 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1252,7 +1252,7 @@ void test_compare_aGreaterThanB(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 577 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 551 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1282,7 +1282,7 @@ void test_exponentiation(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 590 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 564 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1312,7 +1312,7 @@ void test_exponentiation_negativeExponent(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 603 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 577 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1340,7 +1340,7 @@ void test_squareRoot_validNumber(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 61 5) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 589 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1368,7 +1368,7 @@ void test_squareRoot_negativeNumber(void)
( ( void * ) 0 )
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 627 ) , UNITY_DISPLAY_STYLE_INT ) ;
) , ( UNITY_UINT ) ( 601 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}
@ -1488,4 +1488,446 @@ void test_getUserAnswer_invalidInput(void)
}
void test_bereichauswahl_gueltige_eingabe ( void )
{
int gewaehlterbereich ;
gewaehlterbereich = bereichauswahl ( 1 ) ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( 1 ) ) , ( UNITY_INT ) ( ( gewaehlterbereich ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 668 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereichauswahl_ungueltige_eingabe ( void )
{
int gewaehlterbereich ;
gewaehlterbereich = bereichauswahl ( 7 ) ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( 7 ) ) , ( UNITY_INT ) ( ( gewaehlterbereich ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 680 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereichfalsch_gueltige_eingabe ( void )
{
int gewaehlterbereich ;
gewaehlterbereich = bereichfalsch ( 3 ) ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( 3 ) ) , ( UNITY_INT ) ( ( gewaehlterbereich ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 692 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereichfalsch_ungueltige_eingabe ( void )
{
int gewaehlterbereich ;
gewaehlterbereich = bereichfalsch ( 9 ) ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( 9 ) ) , ( UNITY_INT ) ( ( gewaehlterbereich ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 704 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich1_richtige_antwort ( void )
{
int richtige_antwort1 = 2 ;
int antwort1 = 0 ;
antwort1 = 2 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( richtige_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 717 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich1_falsche_antwort ( void )
{
int falsche_antwort1 = 4 ;
int antwort1 = 0 ;
antwort1 = 4 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( falsche_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 730 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich3_richtige_antwort ( void )
{
int richtige_antwort1 = 2 ;
int antwort1 = 0 ;
antwort1 = 2 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( richtige_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 743 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich3_falsche_antwort ( void )
{
int falsche_antwort1 = 1 ;
int antwort1 = 0 ;
antwort1 = 1 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( falsche_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 756 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich3_gewinner_spieler1 ( void )
{
int ergebnis_spieler1_gewinnt = 4 ;
int ergebnis_spieler1 = 0 ;
ergebnis_spieler1 = 4 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( ergebnis_spieler1_gewinnt ) ) , ( UNITY_INT ) ( ( ergebnis_spieler1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 769 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich3_gewinner_spieler2 ( void )
{
int ergebnis_spieler2_gewinnt = 2 ;
int ergebnis_spieler2 = 0 ;
ergebnis_spieler2 = 2 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( ergebnis_spieler2_gewinnt ) ) , ( UNITY_INT ) ( ( ergebnis_spieler2 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 782 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich4_richtige_antwort ( void )
{
int richtige_antwort1 = 3 ;
int antwort1 = 0 ;
antwort1 = 3 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( richtige_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 795 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich4_falsche_antwort ( void )
{
int falsche_antwort1 = 2 ;
int antwort1 = 0 ;
antwort1 = 2 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( falsche_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 808 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich4_gewinner_spieler1 ( void )
{
int ergebnis_spieler1_gewinnt = 1 ;
int ergebnis_spieler1 = 0 ;
ergebnis_spieler1 = 1 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( ergebnis_spieler1_gewinnt ) ) , ( UNITY_INT ) ( ( ergebnis_spieler1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 821 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich4_gewinner_spieler2 ( void )
{
int ergebnis_spieler2_gewinnt = 5 ;
int ergebnis_spieler2 = 0 ;
ergebnis_spieler2 = 5 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( ergebnis_spieler2_gewinnt ) ) , ( UNITY_INT ) ( ( ergebnis_spieler2 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 834 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
void test_bereich5_richtige_antwort ( void )
{
int richtige_antwort1 = 2 ;
int antwort1 = 0 ;
antwort1 = 2 ;
UnityAssertEqualNumber ( ( UNITY_INT ) ( ( richtige_antwort1 ) ) , ( UNITY_INT ) ( ( antwort1 ) ) , (
( ( void * ) 0 )
) , ( UNITY_UINT ) ( 847 ) , UNITY_DISPLAY_STYLE_INT ) ;
}
}