コード例 #1
0
        public void NegativeInheritResultInQuantifier()
        {
            DerivedFromBaseClassWithOldAndResult o = new DerivedFromBaseClassWithOldAndResult();

            int[] A = new int[] { 3, 4, 5 };
            o.InheritResultInQuantifier(A, false);
        }
コード例 #2
0
        public void NegativeInheritResultInQuantifier()
        {
            DerivedFromBaseClassWithOldAndResult o = new DerivedFromBaseClassWithOldAndResult();

            int[] A = new int[] { 3, 4, 5 };
            Assert.Throws <TestRewriterMethods.PostconditionException>(() => o.InheritResultInQuantifier(A, false));
        }
コード例 #3
0
 public void NegativeInheritResultInQuantifier()
 {
   DerivedFromBaseClassWithOldAndResult o = new DerivedFromBaseClassWithOldAndResult();
   int[] A = new int[] { 3, 4, 5 };
   o.InheritResultInQuantifier(A, false);
 }
コード例 #4
0
 public void NegativeInheritResultInQuantifier()
 {
   DerivedFromBaseClassWithOldAndResult o = new DerivedFromBaseClassWithOldAndResult();
   int[] A = new int[] { 3, 4, 5 };
   Assert.Throws<TestRewriterMethods.PostconditionException>(() => o.InheritResultInQuantifier(A, false));
 }