Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
cc45adb2
Verified
Commit
cc45adb2
authored
Apr 20, 2020
by
Justin Carpentier
Browse files
python/test: add test of Pinocchio version
parent
31f4f971
Changes
2
Hide whitespace changes
Inline
Side-by-side
unittest/python/CMakeLists.txt
View file @
cc45adb2
...
...
@@ -23,6 +23,7 @@ SET(${PROJECT_NAME}_PYTHON_TESTS
rpy
utils
serialization
version
)
IF
(
HPP_FCL_FOUND
)
...
...
unittest/python/version.py
0 → 100644
View file @
cc45adb2
from
__future__
import
print_function
import
unittest
import
pinocchio
as
pin
from
test_case
import
PinocchioTestCase
as
TestCase
class
TestVersion
(
TestCase
):
def
test_version
(
self
):
print
(
"version:"
,
pin
.
__version__
)
print
(
"raw_version:"
,
pin
.
__raw_version__
)
if
__name__
==
'__main__'
:
unittest
.
main
()
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