Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
0a9993ee
Commit
0a9993ee
authored
Jul 16, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test fix
parent
5c618f29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tests/run/builtin_min_max.pyx
tests/run/builtin_min_max.pyx
+6
-6
No files found.
tests/run/builtin_min_max.pyx
View file @
0a9993ee
...
...
@@ -3,7 +3,7 @@ cimport cython
# min()
@
cython
.
test_assert_path_exists
(
"//
IfStat
Node"
)
@
cython
.
test_assert_path_exists
(
"//
CondExpr
Node"
)
@
cython
.
test_fail_if_path_exists
(
"//SimpleCallNode"
)
def
min3
(
a
,
b
,
c
):
"""
...
...
@@ -20,7 +20,7 @@ def min3(a,b,c):
"""
return
min
(
a
,
b
,
c
)
@
cython
.
test_assert_path_exists
(
"//
IfStat
Node"
)
@
cython
.
test_assert_path_exists
(
"//
CondExpr
Node"
)
@
cython
.
test_fail_if_path_exists
(
"//SimpleCallNode"
)
def
min3_typed
(
int
a
,
int
b
,
int
c
):
"""
...
...
@@ -37,7 +37,7 @@ def min3_typed(int a, int b, int c):
"""
return
min
(
a
,
b
,
c
)
@
cython
.
test_assert_path_exists
(
"//
IfStat
Node"
)
@
cython
.
test_assert_path_exists
(
"//
CondExpr
Node"
)
@
cython
.
test_fail_if_path_exists
(
"//SimpleCallNode"
)
def
literal_min3
():
"""
...
...
@@ -48,7 +48,7 @@ def literal_min3():
# max()
@
cython
.
test_assert_path_exists
(
"//
IfStat
Node"
)
@
cython
.
test_assert_path_exists
(
"//
CondExpr
Node"
)
@
cython
.
test_fail_if_path_exists
(
"//SimpleCallNode"
)
def
max3
(
a
,
b
,
c
):
"""
...
...
@@ -65,7 +65,7 @@ def max3(a,b,c):
"""
return
max
(
a
,
b
,
c
)
@
cython
.
test_assert_path_exists
(
"//
IfStat
Node"
)
@
cython
.
test_assert_path_exists
(
"//
CondExpr
Node"
)
@
cython
.
test_fail_if_path_exists
(
"//SimpleCallNode"
)
def
max3_typed
(
int
a
,
int
b
,
int
c
):
"""
...
...
@@ -82,7 +82,7 @@ def max3_typed(int a, int b, int c):
"""
return
max
(
a
,
b
,
c
)
@
cython
.
test_assert_path_exists
(
"//
IfStat
Node"
)
@
cython
.
test_assert_path_exists
(
"//
CondExpr
Node"
)
@
cython
.
test_fail_if_path_exists
(
"//SimpleCallNode"
)
def
literal_max3
():
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment