public void Setup() { _expected = new MandelbrotPixel { Finished = false, Iterations = 1, Position = new Complex(0.5m, 0.2m), Z = new Complex(0.5m, 0.2m) }; _sut = new MandelbrotPixel { Finished = false, Iterations = 0, Position = new Complex(0.5m, 0.2m), Z = new Complex(0, 0) }; _sut.Iterate(); }
public void Setup() { _expected = new MandelbrotPixel { Finished = true, Iterations = 2, Position = new Complex(2, 2), Z = new Complex(2, -6) }; _sut = new MandelbrotPixel { Finished = false, Iterations = 1, Position = new Complex(2, 2), Z = new Complex(-2, 2) }; _sut.Iterate(); }