示例#1
0
        public void MegamanTemEhCriadoCom6DeAtaque()
        {
            var megaman = new Megaman();
            var bot     = new Bot();

            megaman.Atacar(bot);

            Assert.AreEqual(94, bot.Vida);
        }
示例#2
0
        public void MegamanComChipNivel2NaoTemAlteracaoNoAtaque()
        {
            var megaman = new Megaman();
            var bot     = new Bot();

            megaman.Atacar(bot);

            Assert.AreEqual(94, bot.Vida);
        }
示例#3
0
        public void MegamanComChipNivel1TemAtaque5()
        {
            var megaman = new Megaman(Chip.Nivel1);
            var bot     = new Bot();

            megaman.Atacar(bot);

            Assert.AreEqual(95, bot.Vida);
        }
示例#4
0
        public void MegamanTemMenosDe30DeVidaCausa9NoAtaque()
        {
            var megaman = new Megaman();
            var bot     = new Bot();

            megaman.ReceberAtaque(71);
            megaman.Atacar(bot);

            Assert.AreEqual(91, bot.Vida);
        }
示例#5
0
        public void MegamanComCanhaoDePlasmaTemAtaque8()
        {
            var megaman = new Megaman();
            var bot     = new Bot();

            megaman.EquiparUpgrade(new CanhaoDePlasma());
            megaman.Atacar(bot);

            Assert.AreEqual(92, bot.Vida);
        }
示例#6
0
        public void MegamanComCanhaoDePlasmaEMenosDe30DeVidaCausa11DeDano()
        {
            var megaman = new Megaman();
            var bot     = new Bot();

            megaman.EquiparUpgrade(new CanhaoDePlasma());
            megaman.ReceberAtaque(71);
            megaman.Atacar(bot);

            Assert.AreEqual(89, bot.Vida);
        }
示例#7
0
        public void RushEquipandoMegamanConcede4DeAtaque()
        {
            var rush    = new Rush();
            var megaman = new Megaman();
            var bot     = new Bot();

            megaman.EquiparUpgrade(rush);

            megaman.Atacar(bot);

            Assert.AreEqual(90, bot.Vida);
        }
示例#8
0
        public void RushComCanhaoDePlasmaConcede6DeAtaque()
        {
            var rush    = new Rush();
            var megaman = new Megaman();
            var bot     = new Bot();

            rush.EquiparUpgrade(new CanhaoDePlasma());

            megaman.EquiparUpgrade(rush);
            megaman.Atacar(bot);

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