Пример #1
0
 def test_givenNumber3_isMultipleOf3_shouldReturnTrue(self):
     fizzBuzzCounter = FizzBuzzCounter()
     is3multipleof3 = fizzBuzzCounter.isItMultipleOfN(3, 3)
     self.assertEqual(is3multipleof3, True)
Пример #2
0
 def test_givenNumber11_isMultipleOf3_shouldReturnFalse(self):
     fizzBuzzCounter = FizzBuzzCounter()
     is11multipleof3 = fizzBuzzCounter.isItMultipleOfN(11, 3)
     self.assertEqual(is11multipleof3, False)
Пример #3
0
 def test_givenNumber23_isMultipleOf5_shouldReturnFalse(self):
     fizzBuzzCounter = FizzBuzzCounter()
     is23multipleof5 = fizzBuzzCounter.isItMultipleOfN(23, 5)
     self.assertEqual(is23multipleof5, False)
Пример #4
0
 def test_givenNumber15_isMultipleOf5_shouldReturnTrue(self):
     fizzBuzzCounter = FizzBuzzCounter()
     is15multipleof5 = fizzBuzzCounter.isItMultipleOfN(15, 5)
     self.assertEqual(is15multipleof5, True)