Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
0e5089b8
Commit
0e5089b8
authored
Nov 03, 2023
by
BO ZHANG
🏀
Browse files
use assertLess
parent
45cd6f4d
Pipeline
#1470
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_flip_image.py
View file @
0e5089b8
...
...
@@ -36,9 +36,9 @@ class FlipImageTestCase(unittest.TestCase):
delimiter
=
","
,
dtype
=
int
,
)
self
.
assert
Equal
(
flip_image
(
image_input
),
image_answer
,
self
.
assert
Less
(
np
.
linalg
.
norm
(
flip_image
(
image_input
)
-
image_answer
)
,
1e-6
,
"Test flip image on server failed"
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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