*** empty log message ***
[m17n/m17n-lib-cs.git] / M17N.cs
diff --git a/M17N.cs b/M17N.cs
index 3663570..4ded12d 100644 (file)
--- a/M17N.cs
+++ b/M17N.cs
@@ -3,10 +3,11 @@ using M17N.Core;
 
 public class Test
 {
-  public static void Main()
+  static void symbol_test ()
   {
     MSymbol sym1, sym2;
 
+    Console.WriteLine ("### Symbol test ###");
     sym1 = new MSymbol ("abc");
     Console.WriteLine (sym1.ToString ());
     sym2 = new MSymbol ("abc");
@@ -24,4 +25,28 @@ public class Test
     Console.WriteLine (pp.ToString ());
     Console.WriteLine (p.get (MSymbol.t));
   }
+
+  static void mtext_test ()
+  {
+    MText mt;
+
+    Console.WriteLine ("### MText test ###");
+    mt = new MText ("abc");
+    Console.WriteLine (mt);
+    Console.WriteLine (mt + new MText ("def"));
+    Console.WriteLine (mt);    
+  }
+
+  static void mtext_property_test ()
+  {
+    Console.WriteLine ("### MTextProperty test ###");
+  }
+
+  public static void Main()
+  {
+    symbol_test ();
+    mtext_test ();
+    mtext_property_test ();
+  }
+
 }