kotlin.test / kotlin.test / assertNotEquals assertNotEquals Common JVM JS Native 1.0 fun <T> assertNotEquals( illegal: T, actual: T, message: String? = null): Unit Asserts that the actual value is not equal to the illegal value, with an optional message.