Assert.assertEquals
- void assertEquals(string message, T expected, T actual)
class Assert
static
void
assertEquals
(
T
size_t line = __LINE__
string file = __FILE__
)
- void assertEquals(T expected, T actual)
- void assertEquals(string message, double expected, double actual, double delta)
- void assertEquals(string message, float expected, float actual, float delta)
- void assertEquals(long expected, long actual)
- void assertEquals(string message, long expected, long actual)
- void assertEquals(double expected, double actual, double delta)
- void assertEquals(float expected, float actual, float delta)
hunt Assert Assert
constructorsstatic functions
Asserts that two objects are equal. If they are not, an {@link AssertionError} is thrown with the given message. If <code>expected</code> and <code>actual</code> are <code>null</code>, they are considered equal.
@param message the identifying message for the {@link AssertionError} (<code>null</code> okay) @param expected expected value @param actual actual value