[OCaml] Runtime tests for fvirtual, overload_polymorphic and some others

Add runtime tests for conversion, extend_typedef_class,
extend_constructor_destructor, fvirtual, overload_polymorphic,
template_rename, and using1.
This commit is contained in:
Zackery Spytz 2019-01-17 15:58:48 -07:00
commit f71ee5be67
7 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,9 @@
open Swig
open Overload_polymorphic
let _ =
let t = new_Derived '() in
assert (_test (t) as int = 0);
assert (_test '(1) as int = 1);
assert (_test2 (t) as int = 1)
;;