Ejemplo n.º 1
0
        public void Constructors55_Test()
        {
            //Ported from Const55.cs

            OutputHelper.WriteLine("Testing a constructor with a '(params int[] values)' prototype, called with 3 ints");
            OutputHelper.WriteLine(" from its derived class, and both constructors are 'protected internal'");
            Assert.True(ConstructorsTestClass55.testMethod());
        }
Ejemplo n.º 2
0
        public MFTestResults Constructors55_Test()
        {
            //Ported from Const55.cs

            Log.Comment("Testing a constructor with a '(params int[] values)' prototype, called with 3 ints");
            Log.Comment(" from its derived class, and both constructors are 'protected internal'");
            if (ConstructorsTestClass55.testMethod())
            {
                return(MFTestResults.Pass);
            }
            return(MFTestResults.Fail);
        }