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
{
[Theory]
[InlineData(false)]
//[InlineData(true)]
public void Test_CellScoreConstructor(bool except)
[Fact]
public void Test_CellScoreConstructor()
{
if (!except)
{
Assert.Throws<ArgumentNullException>(() => new Score(null));
return;
}
Player? p = new Player("test");
Score score = new Score(p);
Assert.True(true);
}
Player p = new Player("test");
DateTime now = DateTime.Today;
Score score = new Score(p.NameTag, now, 0, 0);
Assert.True(score.PlayerName == "test");
}
}

Loading…
Cancel
Save