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:
parent
c113d339ea
commit
eb47550e24
1 changed files with 16 additions and 0 deletions
16
Examples/test-suite/csharp/typemap_namespace_runme.cs
Normal file
16
Examples/test-suite/csharp/typemap_namespace_runme.cs
Normal 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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue