def test_five_is_multiple(self): _, result_for_five, _ = _is_three_and_five_multiple(5) self.assertTrue(result_for_five)
def test_45_is_multiple_for_both(self): result = _is_three_and_five_multiple(15) self.assertTrue(all(result))
def test_99_is_multiple(self): result_for_three, *_ = _is_three_and_five_multiple(99) self.assertTrue(result_for_three)
def test_float_three_is_not_multiple(self): result_for_three, *_ = _is_three_and_five_multiple(float(3)) self.assertFalse(result_for_three)
def test_float_31_is_not_multiple(self): result = _is_three_and_five_multiple(float(31)) self.assertFalse(any(result))
def test_88_is_not_multiple(self): result = _is_three_and_five_multiple(88) self.assertFalse(any(result))
def test_ASD_is_not_multiple(self): result = _is_three_and_five_multiple("ASD") self.assertFalse(any(result))