doc / ch.tutteli.atrium.api.infix.en_GB / isEqual

isEqual

infix fun <T : ChronoLocalDate> Expect<T>.isEqual(expected: ChronoLocalDate): Expect<T> (source)
Deprecated: Use toBeTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoLocalDate) is equal to the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : ChronoLocalDate> Expect<T>.isEqual(expected: String): Expect<T> (source)
Deprecated: Use toBeTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoLocalDate) is equal to the expected given as String. The expected parameter needs to be in the form of yyyy-mm-dd or else a java.time.DateTimeException will be thrown.

Return
an Expect for the subject of this expectation.

Since
0.14.0

infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.isEqual(expected: ChronoLocalDateTime<*>): Expect<T> (source)
Deprecated: Use toBeTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoLocalDateTime) is equal to the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.isEqual(expected: ChronoZonedDateTime<*>): Expect<T> (source)
Deprecated: Use toBeTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoZonedDateTime) is equal to the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0