Exemplo n.º 1
0
        public void When_divising_by_zero2_divide_throws_cannot_divide_by_zero_exception()
        {
            // arrange
            var math = new Mathematics();

            Assert.Throws <DivideByZeroException>(() => math.Divide2(25, 0));
        }