Пример #1
0
	def testNotEvenorOdd(self):
		self.assertTrue(funwithfibo.fibo_sum(4, None), msg="fibo sum second value not even or odd")
Пример #2
0
	def testNotOdd(self):
		self.assertTrue(funwithfibo.fibo_sum(4, "even"), msg="fibo sum second value not even")
Пример #3
0
	def testfiboSumNotDigit(self):
		self.assertEqual(funwithfibo.fibo_sum("adee1@", None), 0, msg="Not a valid digit")
Пример #4
0
	def testNotEven(self):
		self.assertTrue(funwithfibo.fibo_sum(4, "odd"), msg="fibo sum second value not odd")
Пример #5
0
	def testfiboSumZeroless(self):
		self.assertEqual(funwithfibo.fibo_sum(-1, None), 0, msg="the fibo_sum input is less than 0")