Class IntegrationTestWithApproximation
Inheritance
IntegrationTestWithApproximation
Assembly: Unity.Netcode.TestHelpers.Runtime.dll
Syntax
public abstract class IntegrationTestWithApproximation : NetcodeIntegrationTest
Methods
Approximately(float, float)
Declaration
protected bool Approximately(float a, float b)
Parameters
Returns
Approximately(Quaternion, Quaternion)
Declaration
protected bool Approximately(Quaternion a, Quaternion b)
Parameters
Returns
Approximately(Vector2, Vector2)
Declaration
protected bool Approximately(Vector2 a, Vector2 b)
Parameters
Returns
Approximately(Vector3, Vector3)
Declaration
protected bool Approximately(Vector3 a, Vector3 b)
Parameters
Returns
ApproximatelyEuler(float, float)
Declaration
protected bool ApproximatelyEuler(float a, float b)
Parameters
Returns
ApproximatelyEuler(Vector3, Vector3)
Declaration
protected bool ApproximatelyEuler(Vector3 a, Vector3 b)
Parameters
Returns
EulerDelta(float, float)
Declaration
protected float EulerDelta(float a, float b)
Parameters
Returns
EulerDelta(Vector3, Vector3)
Declaration
protected Vector3 EulerDelta(Vector3 a, Vector3 b)
Parameters
Returns
GetDeltaVarianceThreshold()
Declaration
protected virtual float GetDeltaVarianceThreshold()
Returns
GetRandomVector3(float, float)
Declaration
protected Vector3 GetRandomVector3(float min, float max)
Parameters
Returns
GetVector3Values(Vector3)
Returns a Vector3 as a formatted string.
Declaration
protected string GetVector3Values(Vector3 vector3)
Parameters
Type |
Name |
Description |
Vector3 |
vector3 |
Vector3 to return as a formatted string.
|
Returns
GetVector3Values(ref Vector3)
Returns a Vector3 as a formatted string.
Declaration
protected string GetVector3Values(ref Vector3 vector3)
Parameters
Type |
Name |
Description |
Vector3 |
vector3 |
reference of Vector3 to return as a formatted string.
|
Returns