public void ShouldReturnCorrectFinderLogLength() { Core.TreasureFinder treasureFinder = new Core.TreasureFinder(); IEnumerable <string> finderLog = treasureFinder.Solve(cells); Assert.True(finderLog.Count() == 19); }
public void ShouldReturnFinderLogWithContents() { Core.TreasureFinder treasureFinder = new Core.TreasureFinder(); IEnumerable <string> finderLog = treasureFinder.Solve(cells); Assert.True(finderLog.Count() > 0); }
public void ShouldReturnCorrectAnswer() { Core.TreasureFinder treasureFinder = new Core.TreasureFinder(); IEnumerable <string> finderLog = treasureFinder.Solve(cells); Assert.True(finderLog.Last() == "Coordinate in 5, 2: Value = 52"); }
public void ShouldNotReturnNull() { Core.TreasureFinder treasureFinder = new Core.TreasureFinder(); IEnumerable <string> finderLog = treasureFinder.Solve(cells); Assert.True(finderLog != null); }