assertEquals

fun <T> assertEquals(expected: T, actual: T, message: String? = null)(source)

Asserts that the expected value is equal to the actual value, with an optional message.

Since Kotlin

1.0