Skip to content

Commit 1695151

Browse files
committed
tests/bench: Add variation on loop_count/while_down_ne test.
1 parent 6638ea9 commit 1695151

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import bench
2+
3+
def test(num):
4+
zero = 0
5+
while num != zero:
6+
num -= 1
7+
8+
bench.run(test)

0 commit comments

Comments
 (0)