public void MarioQuestionBlockRightCollision()
 {
     TestGame = new MarioGame();
     TestWorld = TestGame.World;
     Content = TestGame.Content;
     TestMario = TestGame.World.Mario;
     //TestBlock = TestGame.World.QuestionBlockObject;
     TestCommand = new MarioRightCommand(TestGame);
     TestMario.PassCommand(TestCommand);
     //Check that question block is not changed
     //Assert.AreEqual(QuestionBlockSpriteState, TestBlock.SpriteState);
 }
        public void MarioQuestionBlockBottomCollision()
        {
            TestGame = new MarioGame();
            TestWorld = TestGame.World;
            Content = TestGame.Content;
            TestMario = TestGame.World.Mario;
            //TestBlock = TestGame.World.QuestionBlockObject;
            TestCommand = new MarioUpCommand(TestGame);
            TestMario.PassCommand(TestCommand);

            //Check that question block is now used block
            //Assert.AreEqual(UsedBlockSpriteState, TestBlock.SpriteState);
        }
 public void MarioGoombaBottomCollision()
 {
     TestGame = new MarioGame();
     TestWorld = TestGame.World;
     Content = TestGame.Content;
     TestMario = TestGame.World.Mario;
     TestGoomba = TestGame.World.Goomba;
     TestCommand = new MarioUpCommand(TestGame);
     TestMario.PassCommand(TestCommand);
     //Check if Mario is dead
     //Assert.AreEqual(true, TestMario.SpriteState.IsDead());
     //Check if Goomba is dead
     //Assert.AreEqual(GoombaSprite, TestGoomba.SpriteState);
 }
        public void MarioKoopaBottomCollision()
        {
            TestGame = new MarioGame();
            TestWorld = TestGame.World;
            Content = TestGame.Content;
            TestMario = TestGame.World.Mario;
            TestKoopa = TestGame.World.Koopa;
            TestCommand = new MarioUpCommand(TestGame);
            TestMario.PassCommand(TestCommand);

            //Check if Mario is dead
            Assert.AreEqual(true, TestMario.Alive);
            //Check if Koopa is Shell
            //Assert.AreEqual("WalkingKoopaSprite", TestKoopa.SpriteState);
        }
        public void MarioKoopaTopCollision()
        {
            TestGame = new MarioGame();
            TestWorld = TestGame.World;
            Content = TestGame.Content;
            TestMario = TestGame.World.Mario;
            TestKoopa = TestGame.World.Koopa;
            TestCommand = new MarioDownCommand(TestGame);
            TestMario.PassCommand(TestCommand);

            //Check if Mario is alive
            Assert.AreEqual(false, TestMario.Alive);
            //Check if Koopa is Shell
            //Assert.AreEqual("ShellKoopaSprite", TestKoopa.SpriteState);
        }