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

This commit is contained in:
Paul Sokolovsky 2014-05-07 21:38:13 +03:00
parent 6638ea9ca3
commit 1695151267
1 changed files with 8 additions and 0 deletions

View File

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