public void PrimeFindIndexOfElementFails() { PrimeNumbers prime = new PrimeNumbers(); int input = 103; prime.FindIndex(input); }
public void PrimeFindIndexOfElement() { PrimeNumbers prime = new PrimeNumbers(); int input = 73; int expected = 20; int actual = prime.FindIndex(input); Assert.AreEqual(actual, expected); }