Package

zio.prelude

laws

Permalink

package laws

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. laws
  2. TestAssertions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class AssertionSyntax[A] extends AnyVal

    Permalink

    Provides implicit syntax for assertions.

Value Members

  1. object AssociativeBothLaws extends test.laws.LawfulF.Invariant[AssociativeBothDeriveEqualInvariant, Equal]

    Permalink
  2. object AssociativeEitherLaws extends test.laws.LawfulF.Invariant[AssociativeEitherDeriveEqualInvariant, Equal]

    Permalink
  3. object AssociativeFlattenLaws extends test.laws.LawfulF.Covariant[AssociativeFlattenCovariantDeriveEqual, Equal]

    Permalink
  4. object AssociativeLaws extends Lawful[AssociativeEqual]

    Permalink
  5. object BuildInfo extends Product with Serializable

    Permalink

    This object was generated by sbt-buildinfo.

  6. object CommutativeBothLaws extends test.laws.LawfulF.Invariant[CommutativeBothDeriveEqualInvariant, Equal]

    Permalink
  7. object CommutativeEitherLaws extends test.laws.LawfulF.Invariant[CommutativeEitherDeriveEqualInvariant, Equal]

    Permalink
  8. object CommutativeLaws extends Lawful[CommutativeEqual]

    Permalink
  9. object ContravariantLaws extends test.laws.LawfulF.Contravariant[ContravariantDeriveEqual, Equal]

    Permalink
  10. object CovariantLaws extends test.laws.LawfulF.Covariant[CovariantDeriveEqual, Equal]

    Permalink
  11. object EqualLaws extends Lawful[Equal]

    Permalink
  12. object EquivalenceLaws extends Lawful2[Equivalence, Equal, Equal]

    Permalink
  13. object ForEachLaws extends test.laws.LawfulF.Covariant[DeriveEqualForEach, Equal]

    Permalink
  14. object GenFs

    Permalink

    Provides higher kinded generators.

  15. object Gens

    Permalink

    Provides generators for data types from _ZIO Prelude_.

  16. object HashLaws extends Lawful[Hash]

    Permalink
  17. object IdempotentLaws extends Lawful[EqualIdempotent]

    Permalink
  18. object IdentityBothLaws extends test.laws.LawfulF.Invariant[DeriveEqualIdentityBothInvariant, Equal]

    Permalink
  19. object IdentityEitherlaws extends test.laws.LawfulF.Invariant[DeriveEqualIdentityEitherInvariant, Equal]

    Permalink
  20. object IdentityFlattenLaws extends test.laws.LawfulF.Covariant[CovariantDeriveEqualIdentityFlatten, Equal]

    Permalink
  21. object IdentityLaws extends Lawful[EqualIdentity]

    Permalink
  22. object InverseLaws extends Lawful[EqualInverse]

    Permalink
  23. object NonEmptyForEachLaws extends test.laws.LawfulF.Covariant[DeriveEqualNonEmptyForEach, Equal]

    Permalink
  24. object OrdLaws extends Lawful[Ord]

    Permalink
  25. object PartialOrdLaws extends Lawful[PartialOrd]

    Permalink
  26. def assertionRec[A, B](name: String)(assertion: test.Assertion[B])(get: (⇒ A) ⇒ Option[B]): test.Assertion[A]

    Permalink
    Definition Classes
    TestAssertions
  27. def equalTo[A](expected: A)(implicit arg0: Equal[A]): test.Assertion[A]

    Permalink

    Makes a new assertion that requires a value equal the specified value.

    Makes a new assertion that requires a value equal the specified value.

    Definition Classes
    TestAssertions
  28. def isFailureV[E](assertion: test.Assertion[NonEmptyChunk[E]]): test.Assertion[ZValidation[Any, E, Any]]

    Permalink

    Makes a new assertion that requires a validation failure satisfying a specified assertion.

    Makes a new assertion that requires a validation failure satisfying a specified assertion.

    Definition Classes
    TestAssertions
  29. def isGreaterThan[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Permalink

    Makes a new assertion that requires the value be greater than the specified reference value.

    Makes a new assertion that requires the value be greater than the specified reference value.

    Definition Classes
    TestAssertions
  30. def isGreaterThanEqualTo[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Permalink

    Makes a new assertion that requires the value be greater than or equal to the specified reference value.

    Makes a new assertion that requires the value be greater than or equal to the specified reference value.

    Definition Classes
    TestAssertions
  31. def isLessThan[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Permalink

    Makes a new assertion that requires the value be less than the specified reference value.

    Makes a new assertion that requires the value be less than the specified reference value.

    Definition Classes
    TestAssertions
  32. def isLessThanEqualTo[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]

    Permalink

    Makes a new assertion that requires the value be less than or equal to the specified reference value.

    Makes a new assertion that requires the value be less than or equal to the specified reference value.

    Definition Classes
    TestAssertions
  33. def isSuccessV[A](assertion: test.Assertion[A]): test.Assertion[ZValidation[Any, Any, A]]

    Permalink

    Makes a new assertion that requires a validation failure satisfying a specified assertion.

    Makes a new assertion that requires a validation failure satisfying a specified assertion.

    Definition Classes
    TestAssertions

Inherited from TestAssertions

Inherited from AnyRef

Inherited from Any

Ungrouped