Example #1
0
 def test_to_int_int_map(self):
     ret = converter.to_int_int_map('62: 92 63: 93 306: 94 324: 95')
     assert_that(len(ret), equal_to(4))
     assert_that(ret[62], equal_to(92))
     assert_that(ret[324], equal_to(95))
Example #2
0
 def test_to_int_int_map(self):
     ret = converter.to_int_int_map('62: 92 63: 93 306: 94 324: 95')
     assert_that(len(ret), equal_to(4))
     assert_that(ret[62], equal_to(92))
     assert_that(ret[324], equal_to(95))
Example #3
0
 def test_to_int_int_map_unbound(self):
     ret = converter.to_int_int_map('Unbound')
     assert_that(len(ret), equal_to(0))
Example #4
0
 def test_to_int_int_map_unbound(self):
     ret = converter.to_int_int_map('Unbound')
     assert_that(len(ret), equal_to(0))