Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_outside_1():
- with pytest.raises(ValueError):
- mandelbrot.compute_mandelbrot(3,4,3,4,500,500,1000,None)
- def test_outside_2():
- with pytest.raises(ValueError):
- mandelbrot.compute_mandelbrot(-3,-4,-3,-4,500,500,1000,None)
- def test_outside_3():
- with pytest.raises(ValueError):
- mandelbrot.compute_mandelbrot(1.5,2,1.5,2,500,500,1000,None)
- def test_inside_1():
- mandelbrot.compute_mandelbrot(-3,3,-3,3,500,500,1000,None)
- def test_inside_2():
- mandelbrot.compute_mandelbrot(0,1,-3,3,500,500,1000,None)
- def test_inside_3():
- mandelbrot.compute_mandelbrot(-1,0,0,3,500,500,1000,None)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement