test/unittest_utils.py
branchstable
changeset 5077 dc448c9ad9dd
parent 5069 135c5d7b89d0
child 5377 84d14ddfae13
--- a/test/unittest_utils.py	Tue Mar 30 11:18:31 2010 +0200
+++ b/test/unittest_utils.py	Tue Mar 30 13:27:30 2010 +0200
@@ -78,6 +78,14 @@
         x = l + [(1, 3)] * 2
         self.assertEquals(x, [(1, 3)] * 5)
 
+    def test_eq(self):
+        self.assertEquals(RepeatList(3, (1, 3)),
+                          [(1, 3)]*3)
+
+    def test_pop(self):
+        l = RepeatList(3, (1, 3))
+        l.pop(2)
+        self.assertEquals(l, [(1, 3)]*2)
 
 class SizeConstrainedListTC(TestCase):