NotEqual

class NotEqual(val expected: Any?, val actual: Any?, val message: String) : AssertionResult(source)

Represents the result of a failed equality assertion.

This class is used to specify details about the expected and actual values when an equality assertion fails. The failure may include an optional message providing additional context.

Parameters

expected

The expected value in the comparison.

actual

The actual value found during the comparison.

message

A custom message explaining why the assertion failed.

Constructors

Link copied to clipboard
constructor(expected: Any?, actual: Any?, message: String)

Properties

Link copied to clipboard
val actual: Any?
Link copied to clipboard
Link copied to clipboard