Commit 541c78bb authored by Stefan Behnel's avatar Stefan Behnel

extended 'if' test case that enforces heavy temp usage

parent 56a10106
......@@ -19,6 +19,13 @@ __doc__ = u"""
2
>>> h(0,0)
3
>>> i(1,2)
1
>>> i(2,2)
2
>>> i(2,1)
0
"""
def f(a, b):
......@@ -46,3 +53,11 @@ def h(a, b):
else:
x = 3
return x
def i(a, b):
x = 0
if str(a).upper() == u"1":
x = 1
if str(a+b).lower() not in (u"1", u"3"):
x = 2
return x
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