AK.ExpressionSolverTests.AssertSameValue C# (CSharp) Method

AssertSameValue() public static method

public static AssertSameValue ( double f1, double f2 ) : void
f1 double
f2 double
return void
        public static void AssertSameValue(double f1, double f2)
        {
            var diff = System.Math.Abs(f1-f2);
            if (diff>0.0000001f)
            {
                throw new System.Exception("ExpressionSolverTest failed");
            }
        }

Same methods

ExpressionSolverTests::AssertSameValue ( string s1, string s2 ) : void