Added the Python bindings of StateVector + an unit-test for StateAbstract bindings
In this PR I did the following tasks:
- Improved the method for getting nx and ndx values (
StateAbstract
class) - Added the Python bindings for
StateVector
- Added an unit-test skeleton for
StateAbstract
bindings - Included a code that tests the
StateAbstract
bindings (with a derivedStateVector
class in Python) against theStateVector
bindings.
@mnaveau I will create as much as possible the unit-test code for Python bindings. This isn't my personal priority but a needed step to check the Python bindings behaviour.
This code is functional (bindings and unit-test), and you can run it by
- enabling the Python bindings generation, and
- running
make test
Edited by Carlos Mastalli