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");
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 ();
+ }
+
}