Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Markus Holzer
pystencils
Commits
ebf765db
Commit
ebf765db
authored
Apr 27, 2021
by
Markus Holzer
Browse files
Adapted test case a bit
parent
558ab66f
Pipeline
#31761
passed with stage
in 10 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pystencils_tests/test_version_string.py
View file @
ebf765db
...
...
@@ -5,7 +5,6 @@ def test_version_string():
print
(
version
)
numeric_version
=
[
int
(
x
,
10
)
for
x
in
version
.
split
(
'.'
)[
0
:
2
]]
numeric_version
.
reverse
()
test_version
=
sum
(
x
*
(
100
**
i
)
for
i
,
x
in
enumerate
(
numeric_version
))
assert
test_version
>=
2
\ No newline at end of file
assert
test_version
>=
200
\ No newline at end of file
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