using System;

public class BooleanTrueString
{
    const string TRUE_STRING = "True";
    public static int Main()
    {
        BooleanTrueString testCase = new BooleanTrueString();

        TestLibrary.TestFramework.BeginTestCase("Boolean.TrueString");
        if (testCase.RunTests())
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("PASS");
            return 100;
        }
        else
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("FAIL");
            return 0;
        }
    }

    public bool RunTests()
    {
        bool retVal = true;

        TestLibrary.TestFramework.LogInformation("[Positive]");
        retVal = PosTest1() && retVal;


        return retVal;
    }

    public bool PosTest1()
    {
        bool retVal = true;
        try
        {
            if (Boolean.TrueString != TRUE_STRING)
            {
                TestLibrary.TestFramework.LogError("001", "expect Boolean.TrueString == \"True\" ");
                retVal = false;
            }
        }
        catch (Exception e)
        {
            TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e);
            retVal = false;
        }
        return retVal;
    }
}
