Beispiel #1
0
 internal void ProcessResultOperator(
     [PexAssumeUnderTest] ROUniqueCombinations target,
     ResultOperatorBase resultOperator,
     QueryModel queryModel,
     CodeContext cc,
     [PexAssumeNotNull] GeneratedCode codeEnv
     )
 {
     target.ProcessResultOperator(resultOperator, queryModel, codeEnv, cc, null);
 }
        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);
        }
Beispiel #3
0
        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);
        }