public void TestGetCountOfShips() { INextShot stubConsoleReader = new FakeConsoleReader(); SeaBattle seaBattle = new SeaBattle(stubConsoleReader); Assert.IsTrue(seaBattle.GetNumberOfShipsOnStart() <= 17); }
public void TestSeaBattleCompareCountOfShipsAndShots() { INextShot stubConsoleReader = new FakeConsoleReader(); SeaBattle seaBattle = new SeaBattle(stubConsoleReader); seaBattle.StartBattle(); Assert.IsTrue(seaBattle.GetNumberOfShipsOnStart() < seaBattle.GetCountOfShots()); }