Namespace: FractalZoomer.Tests
Assembly: FractalZoomer.Tests (in FractalZoomer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: FractalZoomer.Tests (in FractalZoomer.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void NumberOfIterationsIsAlwaysTheSameForNegativeAndPositiveImaginaryValues() { Assert.AreEqual(fractal.GetColorIndexFromIterationsNeeded(-1, 1), fractal.GetColorIndexFromIterationsNeeded(-1, -1)); Assert.AreEqual(fractal.GetColorIndexFromIterationsNeeded(-2, 1), fractal.GetColorIndexFromIterationsNeeded(-2, -1)); Assert.AreEqual(fractal.GetColorIndexFromIterationsNeeded(-1.5f, 1.1f), fractal.GetColorIndexFromIterationsNeeded(-1.5f, -1.1f)); }
See Also