MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / AreEqual

Method AreEqual

Source/Engine/Debug/Assert.cs:93–97  ·  view source on GitHub ↗

Asserts that the values are approximately equal. The value type. The expected value. The actual value.

(T expected, T actual)

Source from the content-addressed store, hash-verified

91 /// <param name="expected">The expected value.</param>
92 /// <param name="actual">The actual value.</param>
93 [Conditional("FLAX_ASSERTIONS")]
94 public static void AreEqual<T>(T expected, T actual)
95 {
96 AreEqual(expected, actual, null);
97 }
98
99 /// <summary>
100 /// Asserts that the values are approximately equal.

Callers 15

TestWorldMatrixMethod · 0.45
TestFormatFloatMethod · 0.45
TestIncNameMethod · 0.45
TestMatchingMethod · 0.45
HistoryStackTestBasicMethod · 0.45
TestChildrenMethod · 0.45
TestConvertIDMethod · 0.45
TestSerializeMethod · 0.45
TestDeserializeMethod · 0.45

Calls 2

IsAssignableFromMethod · 0.45
EqualsMethod · 0.45

Tested by 15

TestWorldMatrixMethod · 0.36
TestFormatFloatMethod · 0.36
TestIncNameMethod · 0.36
TestMatchingMethod · 0.36
HistoryStackTestBasicMethod · 0.36
TestChildrenMethod · 0.36
TestConvertIDMethod · 0.36
TestSerializeMethod · 0.36
TestDeserializeMethod · 0.36