public void TestCombineSame()
        {
            var st1 = new StatementSimpleStatement("int");
            var st2 = new StatementSimpleStatement("int");
            Assert.IsTrue(st1.TryCombineStatement(st2, null), "same statements should combine");

            var st3 = new StatementSimpleStatement("float");
            Assert.IsFalse(st1.TryCombineStatement(st3, null), "diff statements should not combine");
        }
        public void TestCombineSame()
        {
            var st1 = new StatementSimpleStatement("int");
            var st2 = new StatementSimpleStatement("int");

            Assert.IsTrue(st1.TryCombineStatement(st2, null), "same statements should combine");

            var st3 = new StatementSimpleStatement("float");

            Assert.IsFalse(st1.TryCombineStatement(st3, null), "diff statements should not combine");
        }
 public bool TestTryCombine([PexAssumeUnderTest] StatementSimpleStatement target, IStatement st)
 {
     return(target.TryCombineStatement(st, null));
 }