Example #1
0
        public void ReducePlayerPokedollar_PlayerPokecoinGreaterThanBuyPrice_PlayerPokedollarReducedByBuyPrice()
        {
            Player p = DatabaseOperations.GetPlayer(2);

            p.Pokedollar = 10000;

            PlayerInformation.ReducePlayerPokedollar(p, 100);

            Assert.AreEqual(p.Pokedollar, 9900);
        }