[OCaml] Runtime tests for rename_rstrip_encoder and using2
Add runtime tests for rename_rstrip_encoder and using2. They are based on the runtime tests that already exist for other languages.
This commit is contained in:
parent
f7b4127310
commit
90dce1af3e
2 changed files with 9 additions and 0 deletions
5
Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml
Normal file
5
Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
open Swig
|
||||
open Rename_rstrip_encoder
|
||||
|
||||
let s = new_SomeThing '()
|
||||
let a = new_AnotherThing '()
|
||||
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