예제 #1
0
        public void ProtomanTemAtaque5()
        {
            var protoman = new Protoman();
            var bot      = new Bot();

            protoman.Atacar(bot);

            Assert.AreEqual(95, bot.Vida);
        }
예제 #2
0
        public void ProtomanMorreUmaVezETemAtaque7()
        {
            var protoman = new Protoman();
            var bot      = new Bot();

            protoman.ReceberAtaque(102);
            protoman.Atacar(bot);

            Assert.AreEqual(93, bot.Vida);
        }
예제 #3
0
        public void ProtomanComBotasDaVelocidadeMorreUmaVezETemAtaque8()
        {
            var protoman = new Protoman();
            var bot      = new Bot();

            protoman.EquiparUpgrade(new BotasSuperVelocidade());
            protoman.ReceberAtaque(103);

            protoman.Atacar(bot);

            Assert.AreEqual(92, bot.Vida);
        }