コード例 #1
0
ファイル: Program.cs プロジェクト: Melye77/c-toylang
        static void testing()
        {
            ArrayListTest arr = new ArrayListTest();

            arr.Init();
            ArrayDictTest dic = new ArrayDictTest();

            dic.Init();
            ArrayStackTest stk = new ArrayStackTest();

            stk.Init();
            CompStmtTest cstm = new CompStmtTest();

            cstm.Init();
            AssignStmtTest astm = new AssignStmtTest();

            astm.Init();
            PrintStmtTest pstm = new PrintStmtTest();

            pstm.Init();
            IfStmtTest istm = new IfStmtTest();

            istm.Init();
            ArithExprTest aexp = new ArithExprTest();

            aexp.Init();
            ConstExprTest cexp = new ConstExprTest();

            cexp.Init();
            VarExprTest vexp = new VarExprTest();

            vexp.Init();
            ProgStateTest prg = new ProgStateTest();

            prg.Init();
            RepositoryTest rep = new RepositoryTest();

            rep.Init();
            ControllerTest ctr = new ControllerTest();

            ctr.Init();
        }
コード例 #2
0
 public static void Main(string[] args)
 {
     ArrayListTest.DoTest();
 }