Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package test

    _ZIO Test_ is a featherweight testing library for effectful programs.

    _ZIO Test_ is a featherweight testing library for effectful programs.

    The library imagines every spec as an ordinary immutable value, providing tremendous potential for composition. Thanks to tight integration with ZIO, specs can use resources (including those requiring disposal), have well- defined linear and parallel semantics, and can benefit from a host of ZIO combinators.

    import zio.test._
    import zio.Clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        test("time is non-zero") {
          for {
            time <- Live.live(nanoTime)
          } yield assertTrue(time >= 0)
        }
      )
    }
    Definition Classes
    zio
  • package refined
    Definition Classes
    test
  • package types
    Definition Classes
    refined
  • BooleanInstances
  • CharInstances
  • CollectionInstances
  • GenericInstances
  • NumericInstances
  • StringInstances
  • all
  • boolean
  • char
  • collection
  • generic
  • numeric
  • string
t

zio.test.refined

NumericInstances

trait NumericInstances extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumericInstances
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. implicit def byteGreaterThan[N](implicit wn: WitnessAs[N, Byte]): DeriveGen[Refined[Byte, Greater[N]]]
  6. def byteGreaterThanGen[N](implicit wn: WitnessAs[N, Byte]): Gen[Random, Refined[Byte, Greater[N]]]
  7. implicit def byteLessThan[N](implicit wn: WitnessAs[N, Byte]): DeriveGen[Refined[Byte, Less[N]]]
  8. def byteLessThanGen[N](implicit wn: WitnessAs[N, Byte]): Gen[Random, Refined[Byte, Less[N]]]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. implicit def doubleGreaterThan[N](implicit wn: WitnessAs[N, Double]): DeriveGen[Refined[Double, Greater[N]]]
  11. def doubleGreaterThanGen[N](implicit wn: WitnessAs[N, Double]): Gen[Random, Refined[Double, Greater[N]]]
  12. implicit def doubleLessThan[N](implicit wn: WitnessAs[N, Double]): DeriveGen[Refined[Double, Less[N]]]
  13. def doubleLessThanGen[N](implicit wn: WitnessAs[N, Double]): Gen[Random, Refined[Double, Less[N]]]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. implicit def intGreaterThan[N](implicit wn: WitnessAs[N, Int]): DeriveGen[Refined[Int, Greater[N]]]
  20. def intGreaterThanGen[N](implicit wn: WitnessAs[N, Int]): Gen[Random, Refined[Int, Greater[N]]]
  21. implicit def intLessThan[N](implicit wn: WitnessAs[N, Int]): DeriveGen[Refined[Int, Less[N]]]
  22. def intLessThanGen[N](implicit wn: WitnessAs[N, Int]): Gen[Random, Refined[Int, Less[N]]]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. implicit def longGreaterThan[N](implicit wn: WitnessAs[N, Long]): DeriveGen[Refined[Long, Greater[N]]]
  25. def longGreaterThanGen[N](implicit wn: WitnessAs[N, Long]): Gen[Random, Refined[Long, Greater[N]]]
  26. implicit def longLessThan[N](implicit wn: WitnessAs[N, Long]): DeriveGen[Refined[Long, Less[N]]]
  27. def longLessThanGen[N](implicit wn: WitnessAs[N, Long]): Gen[Random, Refined[Long, Less[N]]]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. implicit def shortGreaterThan[N](implicit wn: WitnessAs[N, Short]): DeriveGen[Refined[Short, Greater[N]]]
  32. def shortGreaterThanGen[N](implicit wn: WitnessAs[N, Short]): Gen[Random, Refined[Short, Greater[N]]]
  33. implicit def shortLessThan[N](implicit wn: WitnessAs[N, Short]): DeriveGen[Refined[Short, Less[N]]]
  34. def shortLessThanGen[N](implicit wn: WitnessAs[N, Short]): Gen[Random, Refined[Short, Less[N]]]
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped