Exemplo n.º 1
0
        public void ShouldReturnDifferentValuesOnCallingMultipleTimes()
        {
            var carFinder    = new StartingZeroCarFinder();
            var firstResult  = carFinder.Find(10);
            var secondResult = carFinder.Find(1);

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

            Assert.That(() => result != 0);
        }