swig/Examples/test-suite/schemerunme/cpp_enum.scm
John Lenz 897e5ad40d Lots more bug fixes for the chicken module: almost the entire test-sutie now runs
The only tests that are failing are ones that depend on std_vector.i and similar


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00

21 lines
343 B
Scheme

(define f (new-Foo))
(if (not (= (Foo-hola-get f) (Foo-Hello)))
(error "Error 1"))
(Foo-hola-set f (Foo-Hi))
(if (not (= (Foo-hola-get f) (Foo-Hi)))
(error "Error 2"))
(Foo-hola-set f (Foo-Hello))
(if (not (= (Foo-hola-get f) (Foo-Hello)))
(error "Error 3"))
(hi (Hello))
(if (not (= (hi) (Hello)))
(error "Error 4"))
(exit 0)