def assertEqualTextAndNumber(self, value, text, number): self.assertEqual(util.split_string_at_suffix(value, True), (text, number))
def assertEqualNumberAndUnit(self, value, number, unit): self.assertEqual(util.split_number_and_unit(value), (number, unit)) self.assertEqual(util.split_string_at_suffix(value, False), (number, unit))