Exemple #1
0
        public void FibCheck()
        {
            int num    = 1;
            int actual = num;

            actual = RecursiveCalculations.FibCheck(num);
            Assert.();
        }
Exemple #2
0
        public void TestMethod3()
        {
            RecursiveCalculations rc = new RecursiveCalculations();
            var f = rc.FibCheck(5);

            Assert.IsTrue(f);
            //Pass
        }
Exemple #3
0
        public void CanCheckFibonacciFalse()
        {
            var fibonaccicheck = new RecursiveCalculations();

            var response = fibonaccicheck.FibCheck(18);

            Assert.That(response, Is.EqualTo(false));
        }
Exemple #4
0
        public void FibCheckTest()
        {
            //Arrange
            int  num      = 56;
            bool expected = true;

            //Act
            bool actual = RecursiveCalculations.FibCheck(num);

            //Assert
            Assert.AreEqual(expected, actual);
        }
        public void When_FibCheck_Expect_FibonacciNumber()
        {
            var ans = RecursiveCalculations.FibCheck(13);

            Assert.AreEqual(true, ans);
        }
Exemple #6
0
        public void FibCheck()
        {
            var ans = RecursiveCalculations.FibCheck(3);

            Assert.AreEqual(true, ans);
        }