Commit 9031f39f authored by Daniel Agar's avatar Daniel Agar

adds test cases for xrange with a negative step and xrange(0)

parent c4432970
...@@ -6,3 +6,12 @@ ...@@ -6,3 +6,12 @@
for i in xrange(1000): for i in xrange(1000):
print i print i
for i in xrange(10, 1, -1):
print i
for i in xrange(10, -10, -3):
print i
for i in xrange(0):
print i
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment