Class Vector4ComparerWithEqualsOperator
Use these classes to compare two objects of the same type for equality within the range of a given tolerance using NUnit or custom constraints . Call Instance to apply the default calculation error value to the comparison.
상속된 멤버
네임스페이스: UnityEngine.TestTools.Utils
어셈블리: solution.dll
구문
public class Vector4ComparerWithEqualsOperator : IEqualityComparer<Vector4>
프로퍼티
이름 | 설명 |
---|---|
Instance | A singleton instance of the comparer with a predefined default error value. |
메서드
이름 | 설명 |
---|---|
Equals(Vector4, Vector4) | Compares the actual and expected objects for equality using a custom comparison mechanism. |
GetHashCode(Vector4) | Serves as the default hash function. |