|
@ -183,5 +183,19 @@ namespace MiniGamesTests |
|
|
// assert
|
|
|
// assert
|
|
|
Assert.Equal(erwartetVoll, erhaltenVoll); |
|
|
Assert.Equal(erwartetVoll, erhaltenVoll); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Fact] |
|
|
|
|
|
public void Gewinner_LeeresFeldTest() |
|
|
|
|
|
{ |
|
|
|
|
|
// arrange
|
|
|
|
|
|
TicTacToeBrett brett = TestBrett(); |
|
|
|
|
|
int erwarteterGewinner = TicTacToeBrett.LEER; |
|
|
|
|
|
|
|
|
|
|
|
// act
|
|
|
|
|
|
int erhaltenerGewinner = brett.Gewinner(); |
|
|
|
|
|
|
|
|
|
|
|
// assert
|
|
|
|
|
|
Assert.Equal(erwarteterGewinner, erhaltenerGewinner); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |