public void ClassicTestExampleMinus1() { var result = ProjectEulerLibrary.ClassicMultiplesOf3And5(-1); Assert.AreEqual(0, result); }
public void Abs_2(int input, uint result) { Assert.AreEqual(result, ProjectEulerLibrary.Abs(input)); }
public void LinqTestExampleAnswer() { var result = ProjectEulerLibrary.LinqMultiplesOf3And5(1000); Assert.AreEqual(233168, result); }
public void LinqTestExampleFromPage() { var result = ProjectEulerLibrary.LinqMultiplesOf3And5(10); Assert.AreEqual(23, result); }
public void ClassicTest1000000() { var result = ProjectEulerLibrary.ClassicMultiplesOf3And5(1000000); Assert.AreEqual(233333166668, result); }
public void AbsTernary(int input, long result) { Assert.AreEqual(result, ProjectEulerLibrary.AbsTernary(input)); }