示例#1
0
    def test_check_nDigit_Fiboncci(self):
        """
        func that test for fiboncci digit
        :rtype: object

        """
        QA('What is the 7TH digit of fibonacci', fiboncci_number(num=7))
示例#2
0
 def test_fiboncci_number_one(self):
     """
     func that test for fiboncci number
     :rtype: object
     """
     result = fiboncci_number(1)
     self.assertEqual(result, 1)
示例#3
0
 def test_check_nDigit_Fiboncci(self):
     QA('What is the 7TH digit of fibonacci', fiboncci_number(n=7))
示例#4
0
 def test_fiboncci_number_one(self):
     result = fiboncci_number(1)
     self.assertEqual(result, 1)
示例#5
0
 def test_fiboncci_number_zero(self):
     result = fiboncci_number(0)
     self.assertEqual(result, 0)
示例#6
0
 def test_fiboncci_number(self):
     result = fiboncci_number(7)
     self.assertEqual(result, 13)