Add runtime tests for default_arg_values, inherit_missing, memberin_extend, rename_predicates, template_inherit, template_tbase_template, and typedef_classforward_same_name.
10 lines
302 B
OCaml
10 lines
302 B
OCaml
open Swig
|
|
open Inherit_missing
|
|
|
|
let _ =
|
|
let a = _new_Foo '() and b = new_Bar '() and c = new_Spam '() in
|
|
assert (_do_blah '(a) as string = "Foo::blah");
|
|
assert (_do_blah '(b) as string = "Bar::blah");
|
|
assert (_do_blah '(c) as string = "Spam::blah");
|
|
assert (_delete_Foo '(a) = C_void)
|
|
;;
|