public MFTestResults Othercovariance_exception_02_Test() { Log.Comment("Array Covariance"); Log.Comment("Verify an System.Exception is thrown when incompatible types are assigned to array elements"); if (Other_TestClass_covariance_exception_02.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public void Othercovariance_exception_02_Test() { OutputHelper.WriteLine("Array Covariance"); OutputHelper.WriteLine("Verify an System.Exception is thrown when incompatible types are assigned to array elements"); Assert.True(Other_TestClass_covariance_exception_02.testMethod()); }