diff options
author | Zackery Spytz <zspytz@gmail.com> | 2022-12-04 19:37:22 -0800 |
---|---|---|
committer | Zackery Spytz <zspytz@gmail.com> | 2022-12-04 19:37:22 -0800 |
commit | 90dce1af3ea1ecdf07d36bd0dcb313fb6ff6c81b (patch) | |
tree | 1a03b33c5d26922690cf21999c1ffd64213486c3 /Examples/test-suite | |
parent | f7b41273106056e966730a68b5be5f52371d8986 (diff) | |
download | swig-90dce1af3ea1ecdf07d36bd0dcb313fb6ff6c81b.tar.gz |
[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.
Diffstat (limited to 'Examples/test-suite')
-rw-r--r-- | Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml | 5 | ||||
-rw-r--r-- | Examples/test-suite/ocaml/using2_runme.ml | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml b/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml new file mode 100644 index 000000000..d4c418fa0 --- /dev/null +++ b/Examples/test-suite/ocaml/rename_rstrip_encoder_runme.ml @@ -0,0 +1,5 @@ +open Swig +open Rename_rstrip_encoder + +let s = new_SomeThing '() +let a = new_AnotherThing '() diff --git a/Examples/test-suite/ocaml/using2_runme.ml b/Examples/test-suite/ocaml/using2_runme.ml new file mode 100644 index 000000000..1ec9e2e55 --- /dev/null +++ b/Examples/test-suite/ocaml/using2_runme.ml @@ -0,0 +1,4 @@ +open Swig +open Using2 + +let _ = assert (_spam '(37) as int = 37) |