public void GetTargetShipTest() { IFleet fleet = FleetFactory.CreateFleet(FleetConfigurationType.HeavyShips, BattleStratageyType.NoPriority); IAttackImplement attackImplement = AttackImplementFactory.CreateAttackImplement(AttackImplementType.Laser); var ship = attackImplement.GetTargetShip(null, fleet); Assert.NotNull(ship); }
public void GetWeekTargetShipTest() { IFleet fleet = FleetFactory.CreateFleet(FleetConfigurationType.SmallShips, BattleStratageyType.WeekShipsFirst); IAttackImplement attackImplement = AttackImplementFactory.CreateAttackImplement(AttackImplementType.Laser); var ship = attackImplement.GetTargetShip(BattleStratageyType.WeekShipsFirst, fleet); Assert.NotNull(ship); }