public void WorkingTests()
        {
            var inputList = new List <int>()
            {
                7, 1, 2, 3, 4, 5, 6, 7, 68, 69, 70, 15, 17
            };
            int digit    = 7;
            var result   = BiggerNumberFInder.FilterDigit(inputList, digit);
            var expected = new List <int>()
            {
                7, 7, 70, 17
            };

            Assert.AreEqual(expected, result);
        }
        public void FindNthRootTest(double number, int power, double accuracy, double expected)
        {
            double actual = BiggerNumberFInder.FindNthRoot(number, power, accuracy);

            Assert.AreEqual(expected, actual, accuracy);
        }
 public int?NextBiggerNumber(int number) => BiggerNumberFInder.FindNextBiggerNumber(number);
 public void NullTest()
 {
     Assert.Throws(typeof(ArgumentNullException), () => BiggerNumberFInder.FilterDigit(null, 2));
 }