[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:
parent
00fbf09137
commit
f71ee5be67
7 changed files with 68 additions and 0 deletions
12
Examples/test-suite/ocaml/template_rename_runme.ml
Normal file
12
Examples/test-suite/ocaml/template_rename_runme.ml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
open Swig
|
||||
open Template_rename
|
||||
|
||||
let _ =
|
||||
let i = new_iFoo '() and d = new_dFoo '() in
|
||||
assert (i -> blah_test (4) as int = 4);
|
||||
assert (i -> spam_test (5) as int = 5);
|
||||
assert (i -> groki_test (6) as int = 6);
|
||||
assert (d -> blah_test (7) as int = 7);
|
||||
assert (d -> spam (8) as int = 8);
|
||||
assert (d -> grok_test (9) as int = 9)
|
||||
;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue