Exemple #1
0
    public static void ctor_intTests()
    {
        var objTest = new CollectionBase_ctor_int();

        try
        {
            objTest.RunTest();
        }
        catch (Exception e)
        {
            Console.WriteLine(" : FAIL The following exception was thorwn in RunTest(): \n" + e.ToString());
            objTest._numErrors++;
            objTest._retValue = 1;
        }

        Assert.Equal(objTest._retValue, 100);
    }
    public static void ctor_intTests()
    {
        var objTest = new CollectionBase_ctor_int();

        try
        {
            objTest.RunTest();
        }
        catch (Exception e)
        {
            Console.WriteLine(" : FAIL The following exception was thorwn in RunTest(): \n" + e.ToString());
            objTest._numErrors++;
            objTest._retValue = 1;
        }

        Assert.Equal(objTest._retValue, 100);
    }