All Downloads are FREE. Search and download functionalities are using the official Maven repository.

in.rcard.assertj.arrowcore.EitherAssert.kt Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
package `in`.rcard.assertj.arrowcore

import arrow.core.Either

/**
 * Assertions for [Either].
 *
 * @param LEFT  type of the value on the left contained in the [Either].
 * @param RIGHT type of the value on the right contained in the [Either].
 * @author Riccardo Cardin
 * @since 0.0.1
 */
class EitherAssert private constructor(either: Either?) :
    AbstractEitherAssert, LEFT, RIGHT>(either) {
    companion object {
        fun  assertThat(actual: Either?): EitherAssert =
            EitherAssert(actual)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy