Browse Source

tests/bench: Add variation on loop_count/while_down_ne test.

pull/569/merge
Paul Sokolovsky 11 years ago
parent
commit
1695151267
  1. 8
      tests/bench/loop_count-5.1-while_down_ne_localvar.py

8
tests/bench/loop_count-5.1-while_down_ne_localvar.py

@ -0,0 +1,8 @@
import bench
def test(num):
zero = 0
while num != zero:
num -= 1
bench.run(test)
Loading…
Cancel
Save