public int[] FilterDigitTest(int[] a)
        {
            BasicCodingTasks t = new BasicCodingTasks();

            int[] b = t.FilterDigit(a);
            return(b);
        }
        public int FindNextNumberTest(int n)
        {
            BasicCodingTasks t = new BasicCodingTasks();
            long             elapsedMs1;

            return(t.FindNextNumber(n, out elapsedMs1));
        }
        public void GetNumberRightAndLeftEqualTest()
        {
            BasicCodingTasks t = new BasicCodingTasks();

            int[] x = { 5, 5, 6, 5, 5 };
            Assert.AreEqual(t.GetNumberRightAndLeftEqual(x), 2);
        }
        public void FindMaxTest()
        {
            BasicCodingTasks t = new BasicCodingTasks();

            int[] x = { 5, 8, 7, 2, -1, 12, 3 };
            Assert.AreEqual(t.FindMax(0, x, x.Length, x[0]), 12);
        }
        public void ConcatenateWithoutDuplicatesTest()
        {
            BasicCodingTasks t = new BasicCodingTasks();
            string           a = "aaabbbcccceeedd";
            string           b = "mmmnnnkkk";

            Assert.AreEqual(t.ConcatenateWithoutDuplicates(a, b), "abcedmnk");
        }
        public void InsertNumberTest()
        {
            BasicCodingTasks t = new BasicCodingTasks();

            Assert.AreEqual(t.InsertNumber(15, 15, 0, 0), 15);
            Assert.AreEqual(t.InsertNumber(8, 15, 0, 0), 9);
            Assert.AreEqual(t.InsertNumber(8, 15, 3, 8), 120);
        }