diff --git a/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs b/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs index e0dfb2b..811c25b 100644 --- a/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs +++ b/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs @@ -60,5 +60,10 @@ namespace MiniGames.Shared.Models return true; } + + public bool Voll() + { + return false; + } } } diff --git a/BlazorSolution/MiniGamesTests/TicTacToeBrettTest.cs b/BlazorSolution/MiniGamesTests/TicTacToeBrettTest.cs index f767525..c688c91 100644 --- a/BlazorSolution/MiniGamesTests/TicTacToeBrettTest.cs +++ b/BlazorSolution/MiniGamesTests/TicTacToeBrettTest.cs @@ -135,5 +135,19 @@ namespace MiniGamesTests // assert Assert.Equal(erwartetGleich, erhaltenGleich); } + + [Fact] + public void Voll_LeeresBrettTest() + { + // arrange + TicTacToeBrett brett = TestBrett(); + bool erwartetVoll = false; + + // act + bool erhaltenVoll = brett.Voll(); + + // assert + Assert.Equal(erwartetVoll, erhaltenVoll); + } } }