Commit eaa77e2c authored by Fred Drake's avatar Fred Drake

Added tests for operator.floordiv() and operator.truediv().

parent 428e75fc
......@@ -7,6 +7,8 @@ testing: countOf
testing: delitem
testing: delslice
testing: div
testing: floordiv
testing: truediv
testing: getitem
testing: getslice
testing: indexOf
......
......@@ -31,6 +31,8 @@ if a != [0, 1, 8, 9]:
a = range(10)
test('div', 5, 2, 2)
test('floordiv', 5, 2, 2)
test('truediv', 5, 2.5, 2)
test('getitem', a, 2, 2)
test('getslice', a, [4, 5], 4, 6)
test('indexOf', [4, 3, 2, 1], 1, 3)
......
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