public void TestFive() { string ships = ""; string hits = ""; int N = 10; Assert.AreEqual("0,0", BattleShips.Solution(N, ships, hits)); }
public void TestFour() { string ships = "1A 2B, 5D 7D"; string hits = "3A 7C 2E 4D 8C"; int N = 10; Assert.AreEqual("0,0", BattleShips.Solution(N, ships, hits)); }
public void TestTwo() { string ships = "1A 1B, 2C 2C"; string hits = "1B"; int N = 3; Assert.AreEqual("0,1", BattleShips.Solution(N, ships, hits)); }
public void TestThree() { string ships = "1A 2A, 12A 12A"; string hits = "12A"; int N = 12; Assert.AreEqual("1,0", BattleShips.Solution(N, ships, hits)); }
public void TestOne() { string ships = "1B 2C, 2D 4D"; string hits = "2B 2D 3D 4D 4A"; int N = 4; Assert.AreEqual("1,1", BattleShips.Solution(N, ships, hits)); }