/trunk/Examples/test-suite/csharp/typemap_namespace_runme.cs
C# | 16 lines | 10 code | 5 blank | 1 comment | 4 complexity | 465d709011cefabd0a7bb3decbd762e8 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- // 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");
- }
- }