Exemplo n.º 1
0
        public void CreateBattleField_Return_81_Fields_Without_Board()
        {
            IAreaMaker maker = MakeMakers(false);

            BattleArea area = maker.CreateBattleArea();

            Assert.AreEqual(196, area.BattleFields.Length);
        }
Exemplo n.º 2
0
        public void CreateBattleField_AllFieldsCountEquals_121()
        {
            bool       hasBoard = true;
            IAreaMaker maker    = MakeMakers(hasBoard);

            BattleArea area = maker.CreateBattleArea();

            Assert.AreEqual(256, area.BattleFields.Length);
        }
Exemplo n.º 3
0
 public void CreateEmptyArea()
 {
     _areaMaker = new AreaMaker(Area.Height, Area.Width, true);
     Area       = _areaMaker.CreateBattleArea();
 }