コード例 #1
0
 public void ScoreBoardTests_ConstructorString()
 {
     ScoreBoard scoreOne = new ScoreBoard(1);
     ScoreBoard scoreTwo = new ScoreBoard(1);
     Assert.AreEqual(scoreOne.ToString(), scoreTwo.ToString());
 }
コード例 #2
0
 public void ScoreBoardTests_ToString()
 {
     ScoreBoard scoreOne = new ScoreBoard(1);
     scoreOne.AddPlayer("gosho", 5);
     ScoreBoard scoreTwo = new ScoreBoard(1);
     scoreTwo.AddPlayer("gosho", 5);
     Assert.AreEqual(scoreOne.ToString(), scoreTwo.ToString());
 }