PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/csharp/typemap_namespace_runme.cs

#
C# | 16 lines | 10 code | 5 blank | 1 comment | 4 complexity | 465d709011cefabd0a7bb3decbd762e8 MD5 | raw file
 1// This test tests all the methods in the C# collection wrapper
 2
 3using System;
 4using typemap_namespaceNamespace;
 5
 6public class typemap_namespace_runme {
 7
 8  public static void Main() {
 9    if (typemap_namespace.test1("hello") != "hello")
10      throw new Exception("test1 failed");
11    if (typemap_namespace.test2("hello") != "hello")
12      throw new Exception("test2 failed");
13  }
14
15}
16