public void RunThrowsOverflowException107()
        {
            int          i;
            MyCalculator s0 = new MyCalculator();

            i = this.Run(s0, int.MinValue, -1);
        }
        public void RunThrowsDivideByZeroException120()
        {
            int          i;
            MyCalculator s0 = new MyCalculator();

            i = this.Run(s0, 0, 0);
        }
        public void Run426()
        {
            int          i;
            MyCalculator s0 = new MyCalculator();

            i = this.Run(s0, 1, 0);
            Assert.AreEqual <int>(0, i);
            Assert.IsNotNull((object)s0);
        }
Пример #4
0
        public int Run(
            [PexAssumeUnderTest] MyCalculator target,
            int x,
            int y
            )
        {
            int result = target.Run(x, y);

            return(result);
            // TODO: add assertions to method MyCalculatorTest.Run(MyCalculator, Int32, Int32)
        }