def test_base5(self): self.assertEqual(get_unit("m^2m/(g*(m*m)*m)*m^2"), [1000.0, [2, -1, 0, 0, 0, 0, 0]])
def test_base2(self): self.assertEqual(get_unit("cm/(kg^2)"), [1e-2, [1, -2, 0, 0, 0, 0, 0]])
def test_base3(self): self.assertEqual(get_unit("m/(g*(m*m)*m)"), [1000.0, [-2, -1, 0, 0, 0, 0, 0]])
def test_base(self): self.assertEqual(get_unit("cm/kg"), [1e-2, [1, -1, 0, 0, 0, 0, 0]])