Esempio n. 1
0
        public void CheckGOL1HStructure()
        {
            BattleMechDesign designGoliath = MTFReader.ReadBattleMechDesignFile(GoliathTestFile);

            Element element = ConvertBattletechObject.ToAlphaStrike(designGoliath);

            Assert.Equal(6, element.MaxStructure);
        }
Esempio n. 2
0
        public void CheckAS7DStructure()
        {
            BattleMechDesign designAtlas = MTFReader.ReadBattleMechDesignFile(AtlasTestFile);

            Element element = ConvertBattletechObject.ToAlphaStrike(designAtlas);

            Assert.Equal(8, element.MaxStructure);
        }
Esempio n. 3
0
        public void CheckAS7DMovement()
        {
            BattleMechDesign designAtlas = MTFReader.ReadBattleMechDesignFile(AtlasTestFile);

            Element      element = ConvertBattletechObject.ToAlphaStrike(designAtlas);
            MovementMode m       = element.GetMovementMode("");

            Assert.Equal(3, m.Points);
        }
Esempio n. 4
0
        public void CheckGOL1HMovement()
        {
            BattleMechDesign designGoliath = MTFReader.ReadBattleMechDesignFile(GoliathTestFile);

            Element      element = ConvertBattletechObject.ToAlphaStrike(designGoliath);
            MovementMode m       = element.GetMovementMode("");

            Assert.Equal(4, m.Points);
        }
Esempio n. 5
0
        public void CheckGOL1HLRMAbility()
        {
            BattleMechDesign designGoliath = MTFReader.ReadBattleMechDesignFile(GoliathTestFile);

            Element        element   = ConvertBattletechObject.ToAlphaStrike(designGoliath);
            SpecialAbility abilityAC = null;

            foreach (SpecialAbility ability in element.SpecialAbilities)
            {
                if (ability.Code.Equals("LRM"))
                {
                    abilityAC = ability;
                }
            }

            Assert.NotNull(abilityAC);

            Assert.Equal("LRM1/1/1", abilityAC.ToString());
        }
Esempio n. 6
0
        public void CheckAS7DREARAbility()
        {
            BattleMechDesign designAtlas = MTFReader.ReadBattleMechDesignFile(AtlasTestFile);

            Element        element   = ConvertBattletechObject.ToAlphaStrike(designAtlas);
            SpecialAbility abilityAC = null;

            foreach (SpecialAbility ability in element.SpecialAbilities)
            {
                if (ability.Code.Equals("REAR"))
                {
                    abilityAC = ability;
                }
            }

            Assert.NotNull(abilityAC);

            Assert.Equal("REAR1/1", abilityAC.ToString());
        }
Esempio n. 7
0
        public void ConvertGOL1H()
        {
            BattleMechDesign designGoliath = MTFReader.ReadBattleMechDesignFile(GoliathTestFile);

            Element element = ConvertBattletechObject.ToAlphaStrike(designGoliath);
        }
Esempio n. 8
0
        public void ConvertAS7D()
        {
            BattleMechDesign atlasDesign = MTFReader.ReadBattleMechDesignFile(AtlasTestFile);

            Element element = ConvertBattletechObject.ToAlphaStrike(atlasDesign);
        }