public void TestFindPreviousLessThanWithExceptionOutOfRange() { Assert.That(() => NumbersExtension.FindPreviousLessThan(-124), Throws.TypeOf <System.ArgumentOutOfRangeException>()); }
public void FindPreviousLessThan_NumberLessThan0_ArgumentException() { Assert.Throws <ArgumentException>(() => NumbersExtension.FindPreviousLessThan(-100)); }
public int TestsFindPreviousLessThanWithoutThrow(int number) { return(NumbersExtension.FindPreviousLessThan(number)); }
public int?FindPreviousLessThanTests(int number) => NumbersExtension.FindPreviousLessThan(number);