Exemple #1
0
        public void numberCodeFactoryTest_Reverse()
        {
            for (int i = NC_RANGE_MIN; i < NC_RANGE_MAX; i++)
            {
                List <Tuple <NumberRep, CodePiece> > vs = NumberCodeHelper.GenerateAllCode(i, true, true);

                foreach (var val in vs)
                {
                    MultiCPTester.Test_ForStackValueReverse("@" + val.Item2.ToSimpleString(), i);
                }
            }
        }
Exemple #2
0
 public static void TestCP_Output(CodePiece p, string p_out)
 {
     MultiCPTester.Test_Output(p.ToSimpleString(), p_out);
 }
Exemple #3
0
 public static void TestCP_Terminate(CodePiece p)
 {
     MultiCPTester.Test_Terminate(p.ToSimpleString());
 }
Exemple #4
0
 public static void TestCP(CodePiece p)
 {
     MultiCPTester.Test_Common(p.ToSimpleString());
 }