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.
Implements
Inherited Members
Namespace: UnityEngine.TestTools.Utils
Assembly: solution.dll
Syntax
public class Vector4ComparerWithEqualsOperator : IEqualityComparer<Vector4>
Properties
Name | Description |
---|---|
Instance | A singleton instance of the comparer with a predefined default error value. |
Methods
Name | Description |
---|---|
Equals(Vector4, Vector4) | Compares the actual and expected objects for equality using a custom comparison mechanism. |
GetHashCode(Vector4) | Serves as the default hash function. |