def test_that_number_is_not_divisible_by_three(self): self.assertFalse(fizzbuzz.is_divisible_by(1, 3))
def test_that_number_is_divisible_by_three_and_five(self): self.assertTrue(fizzbuzz.is_divisible_by(15, 15))
def test_that_number_is_divisible_by_three(self): self.assertTrue(fizzbuzz.is_divisible_by(3, 3))
def test_that_number_is_NOT_divisible_by_three(): assert fizzbuzz.is_divisible_by(1, 3) == False
def test_that_number_is_divisible_by_five(self): self.assertTrue(fizzbuzz.is_divisible_by(5, 5))
def test_that_number_is_NOT_divisible_by_three_and_five(): assert fizzbuzz.is_divisible_by(1, 15) == False
def test_that_number_is_divisible_by_three(): assert fizzbuzz.is_divisible_by(3, 3) == True
def test_that_number_is_divisible_by_five(): assert fizzbuzz.is_divisible_by(5, 5) == True
def test_that_number_is_divisible_by_three_and_five(): assert fizzbuzz.is_divisible_by(15, 15) == True
def test_should_not_be_divisible_by(self): divisible_by_three = fizzbuzz.is_divisible_by(3) self.assertFalse(divisible_by_three(17))
def test_should_be_divisible_by(self): divisible_by_three = fizzbuzz.is_divisible_by(3) self.assertTrue(divisible_by_three(15))
def test_is_divisible_by(): assert (fizzbuzz.is_divisible_by(6, 3) == True) assert (fizzbuzz.is_divisible_by(17, 9) == False)
def test_number_is_NOT_divisible_by_three(): assert not fizzbuzz.is_divisible_by(1, 3)
def test_number_is_NOT_divisible_by_five(): assert not fizzbuzz.is_divisible_by(1, 5)