public int?NextBigNumber(int value) { Result?result = Day2Methods.NextBiggerThan(value); return(result.Value.result); }
public void InsertNumberTests(int[] actual, int expected) { int result = Day2Methods.InsertNumber(actual[0], actual[1], actual[2], actual[3]); NUnit.Framework.Assert.AreEqual(expected, result); }
public void FilterDigitTest(List <int> actual, int digit, List <int> expected) { Day2Methods.FilterDigit(ref actual, digit); Assert.AreEqual(expected, actual); }
public static double SqrtNTest(double n, double a, double eps) { return(Day2Methods.FindNthRoot(a, n, eps)); }