Float Mismatch
Utility class for working with float
values in ValueMismatches.
Functions
Link copied to clipboard
Creates
ValueMismatch
for the case of discovering zero value, when a non zero amount was expected by a command.Link copied to clipboard
Creates
ValueMismatch
for the case of discovering not zero value, when a zero amount was expected by a command.Link copied to clipboard
Creates a new instance of
ValueMismatch
with the passed values for a float attribute.Link copied to clipboard
public static ValueMismatch unexpectedValue(float expected, float actual, float newValue, int version)
Creates
ValueMismatch
for the case of discovering a value different than by a command.Link copied to clipboard
Obtains actual float value from the passed mismatch.
Link copied to clipboard
Obtains expected float value from the passed mismatch.
Link copied to clipboard
Obtains new float value from the passed mismatch.