Пример #1
0
        public void ConstructIceWorldSucceeds()
        {
            GameWorld world = WorldBuilderService.BuildGameWorld(WorldType.IceWorld);

            Assert.IsTrue(world.Dragon.Name == "Ice Dragon");
            Assert.IsTrue(world.Troll.Name == "Ice Troll");
            Assert.IsTrue(world.Wizard.Name == "White Wizard");
        }
Пример #2
0
        public void ConstructDarkWorldSucceeds()
        {
            GameWorld world = WorldBuilderService.BuildGameWorld(WorldType.DarkWorld);

            Assert.IsTrue(world.Dragon.Name == "Gold Dragon");
            Assert.IsTrue(world.Troll.Name == "Dark Troll");
            Assert.IsTrue(world.Wizard.Name == "Demon Wizard");
        }
Пример #3
0
        public void ConstructFireWorldSucceeds()
        {
            GameWorld world = WorldBuilderService.BuildGameWorld(WorldType.FireWorld);

            Assert.IsTrue(world.Dragon.Name == "Fire Dragon");
            Assert.IsTrue(world.Troll.Name == "Fire Troll");
            Assert.IsTrue(world.Wizard.Name == "Red Wizard");
        }