1 2 3 4 5 6 7 8 9 10
fvirtual sw = NodeSwitch(); n = Node(); i = sw.addChild(n); if (i != 2) error("addChild") endif