diff --git a/SWIG/Examples/test-suite/python/fvirtual_runme.py b/SWIG/Examples/test-suite/python/fvirtual_runme.py new file mode 100644 index 000000000..e06ab5b4f --- /dev/null +++ b/SWIG/Examples/test-suite/python/fvirtual_runme.py @@ -0,0 +1,9 @@ +from fvirtual import * + +sw = Switch() +n = Node() +i = sw.addChild(n); + +if i != 2: + raise RuntimeError, "addChild" +