strikt-core / strikt.api / AtomicAssertion

AtomicAssertion

interface AtomicAssertion : Assertion

An assertion of a single condition on a subject.

Functions

fail

Mark this result as failed due to a comparison between two values.

abstract fun fail(actual: Any?, description: String? = null, cause: Throwable? = null): Unit

pass

Mark this result as passed due to a comparison between two values.

abstract fun pass(actual: Any?, description: String? = null): Unit