示例#1
0
 public void Test_1s()
 {
     Assert.True(YatzyGame.Ones(1, 2, 3, 4, 5) == 1);
     Assert.Equal(2, YatzyGame.Ones(1, 2, 1, 4, 5));
     Assert.Equal(0, YatzyGame.Ones(6, 2, 2, 4, 5));
     Assert.Equal(4, YatzyGame.Ones(1, 2, 1, 1, 1));
 }