Exemple #1
0
        public void CheckIfNAndItsDoubleExistsTestCase4()
        {
            var input  = new[] { 3, 1, 7, 11 };
            var output = CheckIfNAndItsDoubleExists.CheckIfExist(input);

            output.Should().BeFalse();
        }
Exemple #2
0
        public void CheckIfNAndItsDoubleExistsTestCase5()
        {
            var input  = new[] { 0, 0 };
            var output = CheckIfNAndItsDoubleExists.CheckIfExist(input);

            output.Should().BeTrue();
        }
Exemple #3
0
        public void CheckIfNAndItsDoubleExistsTestCase3()
        {
            var input  = new[] { -2, 0, 10, -19, 4, 6, -8 };
            var output = CheckIfNAndItsDoubleExists.CheckIfExist(input);

            output.Should().BeFalse();
        }