예제 #1
0
        public void RemoveScore_Score_NeutralScore()
        {
            Traveler traveler = new Traveler();

            traveler.RemoveScore(10);
            int result = 0;

            Assert.AreEqual(traveler.Score, result);
        }
예제 #2
0
        public void RemoveScore_Score_UpdatedScore()
        {
            Traveler travelerOne = new Traveler();

            travelerOne.AddScore(10);
            travelerOne.RemoveScore(5);
            int resultOne = 5;

            Assert.AreEqual(travelerOne.Score, resultOne);
        }