'Util.number.floor_div'

def test_floor_div(self):

    self.assertRaises(TypeError, number.floor_div, '1', 1)
    for a in range((-10), 10):
        for b in range((-10), 10):
            if (b == 0):
                self.assertRaises(ZeroDivisionError, number.floor_div, a, b)
            else:
                self.assertEqual((a, b, int(math.floor((float(a) / b)))), (a, b, number.floor_div(a, b)))
