def test_lcm_of_two_integers_returns_the_right_output(self): self.assertTrue(_lcm(11, 4) == 44) self.assertTrue(_lcm(4, 11) == 44) self.assertTrue(_lcm(5, 2) == 10) self.assertTrue(_lcm(2, 5) == 10) self.assertTrue(_lcm(5, 202) == 1010) self.assertTrue(_lcm(202, 5) == 1010)
def test_lcm_of_two_integers_returns_zero_if_at_least_one_integer_is_zero(self): self.assertTrue(_lcm(0, 1) == 0) self.assertEqual(_lcm(0, 0), 0)