def test_map_iter(self): map = gpstk.map_int_string() map[5] = 'five' map[6] = 'six' list = [] for key in map: list.append(key) self.assertEqual([5,6], sorted(list))
def test_map_len(self): map = gpstk.map_int_string() map[5] = 'five' map[6] = 'six' self.assertEqual(2, len(map))
def test_map_len(self): map = gpstk.map_int_string() map[5] = "five" map[6] = "six" self.assertEqual(2, len(map))