Esempio n. 1
0
 def test_clear_not_empty(self):
     tdict = TwoWayOrderedDict(a=1, b=2, c=3)
     tdict.clear()
     self.assertEqual(len(tdict), 0)
Esempio n. 2
0
 def test_clear_empty(self):
     tdict = TwoWayOrderedDict()
     tdict.clear()
     self.assertEqual(len(tdict), 0)