コード例 #1
0
        public void CoinPursesCanStoreAllTheCoins()
        {
            var purse = new CoinPurse();

            purse.AddPlatinum(3);
            purse.AddGold(53);
            purse.AddSilver(85);
            purse.AddCopper(23);
            Assert.Equal(9173, purse.Value);
        }