Esempio n. 1
0
        public void RemoveCoins_Coins_NeutralCoins()
        {
            Traveler traveler = new Traveler();

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

            Assert.AreEqual(traveler.Coins, result);
        }
Esempio n. 2
0
        public void RemoveCoins_Coins_UpdatedCoins()
        {
            Traveler traveler = new Traveler();

            traveler.AddCoins(10);
            traveler.RemoveCoins(5);
            int result = 5;

            Assert.AreEqual(traveler.Coins, result);
        }