Start splitting out reduction checks

This commit is contained in:
rocky
2020-01-08 20:25:59 -05:00
parent 7b76d55e55
commit 6f6ef19e0a
7 changed files with 215 additions and 197 deletions

View File

@@ -0,0 +1,10 @@
# From 3.7.6 test_buffer.py
# RUNNABLE!
def foo(n):
zero_stride = True if n >= 95 and n & 1 else False
return zero_stride
assert foo(95)
assert not foo(94)
assert not foo(96)