Пример #1
0
    public static int Main(string[] args)
    {
        UInt16Equals ui32e2 = new UInt16Equals();
        TestLibrary.TestFramework.BeginTestCase("UInt16.Equals(UInt16)");

        if (ui32e2.RunTests())
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("PASS");
            return 100;
        }
        else
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("FAIL");
            return 0;
        }
    }
Пример #2
0
    public static int Main()
    {
        UInt16Equals ui32e1 = new UInt16Equals();
        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.Equals(Object)");

        if (ui32e1.RunTests())
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("PASS");
            return 100;
        }
        else
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("FAIL");
            return 0;
        }
    }
Пример #3
0
    public static int Main(string[] args)
    {
        UInt16Equals ui32e2 = new UInt16Equals();

        TestLibrary.TestFramework.BeginTestCase("UInt16.Equals(UInt16)");

        if (ui32e2.RunTests())
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("PASS");
            return(100);
        }
        else
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("FAIL");
            return(0);
        }
    }
Пример #4
0
    public static int Main()
    {
        UInt16Equals ui32e1 = new UInt16Equals();

        TestLibrary.TestFramework.BeginTestCase("for method: UInt16.Equals(Object)");

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