Class Vector3ComparerWithEqualsOperator
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 Vector3ComparerWithEqualsOperator : IEqualityComparer<Vector3>
Properties
Name | Description |
---|---|
Instance | A singleton instance of the comparer with a predefined default error value. |
Methods
Name | Description |
---|---|
Equals(Vector3, Vector3) | Compares the actual and expected objects for equality using a custom comparison mechanism. |
GetHashCode(Vector3) | Serves as the default hash function. |