Skip to content
Snippets Groups Projects
Verified Commit d2e188db authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test/python: test version fields

parent 33713e86
No related branches found
No related tags found
No related merge requests found
...@@ -47,3 +47,6 @@ SET_TESTS_PROPERTIES("py-switch" PROPERTIES DEPENDS ${PYWRAP}) ...@@ -47,3 +47,6 @@ SET_TESTS_PROPERTIES("py-switch" PROPERTIES DEPENDS ${PYWRAP})
ADD_PYTHON_UNIT_TEST("py-dimensions" "unittest/python/test_dimensions.py" "python/eigenpy") ADD_PYTHON_UNIT_TEST("py-dimensions" "unittest/python/test_dimensions.py" "python/eigenpy")
SET_TESTS_PROPERTIES("py-dimensions" PROPERTIES DEPENDS ${PYWRAP}) SET_TESTS_PROPERTIES("py-dimensions" PROPERTIES DEPENDS ${PYWRAP})
ADD_PYTHON_UNIT_TEST("py-version" "unittest/python/test_version.py" "python/eigenpy")
SET_TESTS_PROPERTIES("py-version" PROPERTIES DEPENDS ${PYWRAP})
from __future__ import print_function
import eigenpy
assert eigenpy.checkVersionAtLeast(0,0,0)
assert eigenpy.__version__ != ""
assert eigenpy.__raw_version__ != ""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment