public void Pow2ResultMatchesMath() { const float X = -33; float expected = (float)Math.Pow(X, 2); Assert.Equal(expected, ImageMaths.Pow2(X)); }
public void Pow2ResultMatchesMath() { const float X = -33; float expected = (float)Math.Pow(X, 2); Assert.Equal(expected, ImageMaths.Pow2(X)); }