Commit 9d5ee4fa authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent 5e97dbcb
...@@ -8,6 +8,16 @@ class loud_list(list): ...@@ -8,6 +8,16 @@ class loud_list(list):
# max() # max()
def test_max1(x):
"""
>>> test_max1([1, 2, 3])
3
>>> test_max1([2])
2
"""
return max(x)
@cython.test_assert_path_exists( @cython.test_assert_path_exists(
'//PrintStatNode//CondExprNode') '//PrintStatNode//CondExprNode')
@cython.test_fail_if_path_exists( @cython.test_fail_if_path_exists(
......
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