hot fix (oups)
continuous-integration/drone/push Build is passing Details

test_old_branch
Jérémy Mouyon 11 months ago
parent 8f0c610e7d
commit 923544b482

@ -3,29 +3,15 @@ namespace TestBase;
public class TestScore public class TestScore
{ {
[Theory] [Fact]
[InlineData(false)] public void Test_CellScoreConstructor()
//[InlineData(true)]
public void Test_CellScoreConstructor(bool except)
{ {
if (!except) Player p = new Player("test");
{ DateTime now = DateTime.Today;
Assert.Throws<ArgumentNullException>(() => new Score(null)); Score score = new Score(p.NameTag, now, 0, 0);
return;
}
Player? p = new Player("test"); Assert.True(score.PlayerName == "test");
Score score = new Score(p);
Assert.True(true);
} }
} }

Loading…
Cancel
Save