runtime test for C# added

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-12-29 23:59:03 +00:00
commit eb47550e24

View file

@ -0,0 +1,16 @@
// This test tests all the methods in the C# collection wrapper
using System;
using typemap_namespaceNamespace;
public class typemap_namespace_runme {
public static void Main() {
if (typemap_namespace.test1("hello") != "hello")
throw new Exception("test1 failed");
if (typemap_namespace.test2("hello") != "hello")
throw new Exception("test2 failed");
}
}