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