Added some tests to mimic the ones in the python directory. Working my

way through the alphabet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Art Yerkes 2003-03-12 15:25:27 +00:00
commit 448c3c62ab
4 changed files with 24 additions and 180 deletions

View file

@ -0,0 +1,10 @@
(* Test case stolen from the python directory *)
open Varargs
let _ = if _test (C_string "Hello") <> (C_string "Hello") then
raise (Failure "1")
let f = new_Foo C_void
let _ = if (invoke f) "test" (C_string "Hello") <> (C_string "Hello") then
raise (Failure "2")