def test1(self): self.assertEqual(compare_version_strings('1.2', '1.1'), 1)
def test_should_be_equal_same_number_with_spaces(self): self.assertEqual(compare_version_strings('2.1 . 05 . 7', '2.1.05.7'), 0)
def test_should_be_equal_same_number_with_zeros_to_the_left(self): self.assertEqual(compare_version_strings('02.1', '2.01'), 0)
def test12(self): self.assertEqual(compare_version_strings('2.1', '2'), 1)
def test10(self): self.assertEqual(compare_version_strings('002', '01'), 1)
def test9(self): self.assertEqual(compare_version_strings('01', '002'), -1)
def test6(self): self.assertEqual(compare_version_strings('1.13', '1.13'), 0)
def test3(self): self.assertEqual(compare_version_strings('1.1', '1.2'), -1)