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 MostNumbersCloseToTheRadiusOfTwoHaveLowValues() { Assert.AreEqual(7, fractal.GetColorIndexFromIterationsNeeded(1.977371f, 0.3f)); Assert.AreEqual(28, fractal.GetColorIndexFromIterationsNeeded(-1.8f, 0.7f)); Assert.AreEqual(11, fractal.GetColorIndexFromIterationsNeeded(0, 1.9f)); Assert.AreEqual(17, fractal.GetColorIndexFromIterationsNeeded(0, -1.7f)); Assert.AreEqual(19, fractal.GetColorIndexFromIterationsNeeded(-1.54f, 1.2f)); Assert.AreEqual(24, fractal.GetColorIndexFromIterationsNeeded(-1.4f, -1.1f)); Assert.AreEqual(17, fractal.GetColorIndexFromIterationsNeeded(1f, 1f)); }
See Also