Exemplo n.º 1
0
    public string RunTest()
    {
        string report  = string.Empty;
        bool   testRes = false;

        // ResetRoadMap
        BaseTest.CheckTest(ref testRes, Test1_1(ref testRes), ref report);
        BaseTest.CheckTest(ref testRes, Test1_2(ref testRes), ref report);
        BaseTest.CheckTest(ref testRes, Test1_3(ref testRes), ref report);

        // CheckRoadRules
        BaseTest.CheckTest(ref testRes, Test2_1(ref testRes), ref report);
        BaseTest.CheckTest(ref testRes, Test2_2(ref testRes), ref report);
        BaseTest.CheckTest(ref testRes, Test2_3(ref testRes), ref report);

        // BuildRoadRules
        BaseTest.CheckTest(ref testRes, Test3_1(ref testRes), ref report);
        BaseTest.CheckTest(ref testRes, Test3_2(ref testRes), ref report);
        BaseTest.CheckTest(ref testRes, Test3_3(ref testRes), ref report);

        return(report);
    }