Test lcm()

Increase coverage
This commit is contained in:
Unknown 2020-06-24 15:22:50 -04:00
parent dfdf384a40
commit 0a1ab1a9a5

View File

@ -12,6 +12,15 @@ def test_rotate(config):
assert (l2 == [2, 3, 1]) assert (l2 == [2, 3, 1])
def test_lcm(config):
# This function takes two integers and returns the L.C.M.
x = 10
y = 50
lcm = utils.lcm(x, y)
assert (lcm == 5)