public void TestV1() { MainModule.Load(); // The first tests TestLine("3"); TestLine("4+2"); TestLine("3/-2"); TestLine("2*(-1+5)"); TestLine("2+[1,2,3]"); TestLine("[1,(1+1),(1-1)]"); // More tests CLVariables.VariableLoaded += Loader.Load; TestLine("2^5"); TestLine("{two}^{four}"); TestLine("{ level, 3}"); TestLine("{ level , 10}"); TestLine("{level}"); // Math module tests MathModule.Load(); TestLine("{!abs,-4}"); TestLine("{!sin,1}"); TestLine("{!max,2,-3}"); // Decimal testing TestLine(".4"); TestLine("4*.5"); // Operator testing TestLine("3!!+--3"); }