From eb47550e2408a5bb413f712223e5c7bd6c51dfd4 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 29 Dec 2005 23:59:03 +0000 Subject: [PATCH] runtime test for C# added git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- .../test-suite/csharp/typemap_namespace_runme.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Examples/test-suite/csharp/typemap_namespace_runme.cs diff --git a/Examples/test-suite/csharp/typemap_namespace_runme.cs b/Examples/test-suite/csharp/typemap_namespace_runme.cs new file mode 100644 index 000000000..39f1c6548 --- /dev/null +++ b/Examples/test-suite/csharp/typemap_namespace_runme.cs @@ -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"); + } + +} +