예제 #1
0
        private void exceptionWrongParametersForFixture(PaintParameter p)
        {
            Exception actualException = Record.Exception(() => PaintFill(_fixture.screen.screenFilledUp, p.coordinates, p.newColor));

            Assert.IsType <ArgumentException>(actualException);
        }
예제 #2
0
        private void exceptionWrongParameters(PaintParameter p)
        {
            Exception actualException = Record.Exception(() => PaintFill(p.screen, p.coordinates, p.newColor));

            Assert.IsType <ArgumentException>(actualException);
        }