Instead of testing the omnes function directly via its c++ implementation, test is via its python interface.
This is beneficial for the following reason: the pure cpp tests shall be reserved for facilities that do not have a python interface (for the latter would be useless/is not needed), everything else shall be tested via python. In this way, the tests are clearly seperated and one avoids unnecessary doubling of similar tests just for the purpose of testing the pybind11 bindings.
Instead of testing the omnes function directly via its c++ implementation, test is via its python interface.
This is beneficial for the following reason: the pure cpp tests shall be reserved for facilities that do not have a python interface (for the latter would be useless/is not needed), everything else shall be tested via python. In this way, the tests are clearly seperated and one avoids unnecessary doubling of similar tests just for the purpose of testing the pybind11 bindings.