public void ShouldReturnDifferentValuesOnCallingMultipleTimes() { var carFinder = new StartingZeroCarFinder(); var firstResult = carFinder.Find(10); var secondResult = carFinder.Find(1); Assert.That(() => firstResult != secondResult); }
public void ShouldReturnValue() { var carFinder = new StartingZeroCarFinder(); var result = carFinder.Find(10); Assert.That(() => result != 0); }