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

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

            Assert.IsType <ArgumentException>(actualException);
        }