예제 #1
0
    static int Main()
    {
        StringBuilderInsert test = new StringBuilderInsert();

        TestFramework.BeginTestCase("StringBuilder.Insert");

        if (test.RunTests())
        {
            TestFramework.EndTestCase();
            TestFramework.LogInformation("PASS");
            return(100);
        }
        else
        {
            TestFramework.EndTestCase();
            TestFramework.LogInformation("FAIL");
            return(0);
        }
    }
예제 #2
0
    static int Main()
    {
        StringBuilderInsert test = new StringBuilderInsert();

        TestFramework.BeginTestCase("StringBuilder.Insert");

        if (test.RunTests())
        {
            TestFramework.EndTestCase();
            TestFramework.LogInformation("PASS");
            return 100;
        }
        else
        {
            TestFramework.EndTestCase();
            TestFramework.LogInformation("FAIL");
            return 0;
        }

    }