diff options
author | Stephen Kelly <steveire@gmail.com> | 2017-01-13 18:06:28 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2017-01-13 18:06:28 +0000 |
commit | af9f502f9629766130e171632d2072d563661959 (patch) | |
tree | ab77d12271937a6e579538991e8aa5704673665c /tests/GenerateSipBindings/testscript.py | |
parent | 39454cd893309c1a00eb7a9254045d52a8ced169 (diff) | |
download | extra-cmake-modules-af9f502f9629766130e171632d2072d563661959.tar.gz extra-cmake-modules-af9f502f9629766130e171632d2072d563661959.tar.bz2 |
Bindings: Implement ModuleCode and MethodCode databases
Diffstat (limited to 'tests/GenerateSipBindings/testscript.py')
-rw-r--r-- | tests/GenerateSipBindings/testscript.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/GenerateSipBindings/testscript.py b/tests/GenerateSipBindings/testscript.py index deefb960..9faea837 100644 --- a/tests/GenerateSipBindings/testscript.py +++ b/tests/GenerateSipBindings/testscript.py @@ -98,3 +98,7 @@ assert(PyTest.CppLib.SomeNS.EnumValueTwo == 2) assert(PyTest.CppLib.SomeNS.useEnum() == 1.0) assert(PyTest.CppLib.SomeNS.useEnum(PyTest.CppLib.SomeNS.EnumValueOne) == 1.0) assert(PyTest.CppLib.SomeNS.useEnum(PyTest.CppLib.SomeNS.EnumValueTwo) == 2.0) + +assert(PyTest.CppLib.SomeNS.customMethod([2, 3, 5]) == 10) + +assert(PyTest.CppLib.anotherCustomMethod([2, 3, 5]) == 52) |