def is_divisible_by(func):
    assertTrue(func(4, 2))
    assertTrue(func(6, 2))
    assertTrue(func(6, 3))
    assertTrue(func(9, 3))
    assertFalse(func(4, 3))
    assertFalse(func(9, 2))

    assertTrue(all(func(x, 1) for x in xrange(20)))
    assertTrue(all(func(120, x) for x in xrange(1, 7)))
    assertFalse(func(120, 7))
Returns True if the first number is divisible by the second, otherwise False.
dataset/ETHPy150Open alexmojaki/funcfinder/funcfinder/questions/math.py/is_divisible_by