Skip to content
Snippets Groups Projects
Commit 3179245d authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix test version string

parent 354fede8
No related branches found
No related tags found
1 merge request!298Fix: Version string test case
Pipeline #41139 failed
import pystencils as ps
import lbmpy
def test_version_string():
version = ps.__version__
version = lbmpy.__version__
print(version)
numeric_version = [int(x, 10) for x in version.split('.')[0:2]]
numeric_version = [int(x, 10) for x in version.split('.')[0:1]]
test_version = sum(x * (100 ** i) for i, x in enumerate(numeric_version))
assert test_version >= 200
\ No newline at end of file
assert test_version >= 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment