/// <summary>
        ///     Compares two objects for equality within a tolerance, setting
        ///     the tolerance to the internalActual tolerance used if an empty
        ///     tolerance is supplied.
        /// </summary>
        public bool AreEqual(object expected, object actual, ref Tolerance tolerance)
        {
            failurePoints     = new FailurePointList();
            recursionDetector = new RecursionDetector();

            return(ObjectsEqual(expected, actual, ref tolerance));
        }
Пример #2
0
        public bool AreEqual <TExpected, TActual>(TExpected expected, TActual actual, ref Tolerance tolerance)
        {
            _recursionDetector = new RecursionDetector();

            return(ObjectsEqual(expected, actual, ref tolerance));
        }