FloatComparer

class in UnityEngine.Assertions.Comparers

Cambiar al Manual

Descripción

A float comparer used by Assert performing approximate comparison.

Variables Estáticas

kEpsilonDefault epsilon used by the comparer.
s_ComparerWithDefaultToleranceDefault instance of a comparer class with deafult error epsilon and absolute error check.

Constructores

FloatComparerCreates an instance of the comparer.

Funciones Estáticas

AreEqualPerforms equality check with absolute error check.
AreEqualRelativePerforms equality check with relative error check.