*** empty log message ***
[m17n/m17n-lib-cs.git] / symbol.cs
index 60d9439..f672b09 100644 (file)
--- a/symbol.cs
+++ b/symbol.cs
@@ -11,8 +11,8 @@ public class Test
     MSymbol sym2 = new MSymbol ("symbol");
     MSymbol sym3 = new MSymbol ("another sym:bol");
 
-    Console.WriteLine ("version {0}-{1}-{2}", M17N.M17N.MajorVersion,
-                      M17N.M17N.MinorVersion, M17N.M17N.ReleaseNumber);
+    Console.WriteLine ("version {0}-{1}-{2}", M17n.MajorVersion,
+                      M17n.MinorVersion, M17n.ReleaseNumber);
 
     Console.WriteLine ("sym1 = {0}", sym1);
     Console.WriteLine ("sym2 = {0}", sym2);
@@ -25,5 +25,13 @@ public class Test
     Console.WriteLine (sym1.Get (sym2) + "," + sym1.Get (sym3));
     Console.WriteLine (sym2.Get (sym2) + "," + sym2.Get (sym3));
     Console.WriteLine (sym3.Get (sym2));
+
+    MSymbol sym4;
+    try {
+      sym4 = new MSymbol ("symbol", MTextProperty.Flags.Sensitive);
+    } catch {
+      Console.WriteLine ("MTextProperty.Flags mismatch");
+    }
+    sym4 = new MSymbol ("sensitive", MTextProperty.Flags.Sensitive);
   }
 }