internal bool CanHandle( [PexAssumeUnderTest] ROUniqueCombinations target, Type resultOperatorType ) { bool result = target.CanHandle(resultOperatorType); Assert.AreEqual(resultOperatorType == typeof(PairWiseAllResultOperator), result, "bad return from CanHandle"); return(result); }
internal bool CanHandle( [PexAssumeUnderTest] ROUniqueCombinations target, Type resultOperatorType ) { bool result = target.CanHandle(resultOperatorType); if (resultOperatorType == typeof(UniqueCombinationsResultOperator)) { Assert.IsTrue(result, "Should be good to go!"); } else { Assert.IsFalse(result, "Bad input type - should not have taken it!"); } return(result); }