|
@ -149,5 +149,19 @@ namespace MiniGamesTests |
|
|
// assert
|
|
|
// assert
|
|
|
Assert.Equal(erwartetVoll, erhaltenVoll); |
|
|
Assert.Equal(erwartetVoll, erhaltenVoll); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Fact] |
|
|
|
|
|
public void Voll_VollesBrettTest() |
|
|
|
|
|
{ |
|
|
|
|
|
// arrange
|
|
|
|
|
|
TicTacToeBrett brett = TestBrett(1, 2, 3, 4, 5, 6, 7, 8, 9); |
|
|
|
|
|
bool erwartetVoll = true; |
|
|
|
|
|
|
|
|
|
|
|
// act
|
|
|
|
|
|
bool erhaltenVoll = brett.Voll(); |
|
|
|
|
|
|
|
|
|
|
|
// assert
|
|
|
|
|
|
Assert.Equal(erwartetVoll, erhaltenVoll); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |