def test_mb_from_int(self): self.assertEqual(mb(42), "42MB")
def test_mb_from_float(self): self.assertEqual(mb(7.42), "7MB")