mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
Added commented-out test for when slice support is added to queue.
This commit is contained in:
parent
277a1a356d
commit
27c88542c7
@ -45,6 +45,7 @@ class QueueTest(unittest.TestCase):
|
|||||||
self.assertEqual(q[-i], n-i)
|
self.assertEqual(q[-i], n-i)
|
||||||
self.assertRaises(IndexError, q.__getitem__, -(n+1))
|
self.assertRaises(IndexError, q.__getitem__, -(n+1))
|
||||||
self.assertRaises(IndexError, q.__getitem__, n)
|
self.assertRaises(IndexError, q.__getitem__, n)
|
||||||
|
#self.assertEqual(q[3:7], queue([3, 4, 5, 6]))
|
||||||
|
|
||||||
|
|
||||||
def testSetitem(self):
|
def testSetitem(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user