Merge branch 'OCaml-rename_rstrip_encoder-using2-runtime-tests'
* OCaml-rename_rstrip_encoder-using2-runtime-tests: Complete copy of testcase from Python [OCaml] Runtime tests for rename_rstrip_encoder and using2
This commit is contained in:
commit
20ff64217d
2 changed files with 11 additions and 0 deletions
7
Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml
Normal file
7
Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
open Swig
|
||||
open Rename_rstrip_encoder
|
||||
|
||||
let s = new_SomeThing '()
|
||||
let a = new_AnotherThing '() in
|
||||
assert (a -> DoClsX () = C_void);
|
||||
;;
|
||||
4
Examples/test-suite/ocaml/using2_runme.ml
Normal file
4
Examples/test-suite/ocaml/using2_runme.ml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
open Swig
|
||||
open Using2
|
||||
|
||||
let _ = assert (_spam '(37) as int = 37)
|
||||
Loading…
Add table
Add a link
Reference in a new issue