AK.ExpressionSolverTests.AssertSameValue C# (CSharp) Méthode

AssertSameValue() public static méthode

public static AssertSameValue ( string s1, string s2 ) : void
s1 string
s2 string
Résultat void
        public static void AssertSameValue(string s1, string s2)
        {
            if (s1 != s2)
            {
                UnityEngine.Debug.Log(s1 + " vs " + s2);
                throw new System.Exception("ExpressionSolverTest failed");
            }
        }

Same methods

ExpressionSolverTests::AssertSameValue ( double f1, double f2 ) : void