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
    
    object MyTest extends ZIOSpecDefault {
      def spec = suite("clock")(
        test("time is non-zero") {
          for {
            time <- Live.live(nanoTime)
          } yield assertTrue(time >= 0L)
        }
      )
    }
    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

object numeric extends NumericInstances

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. numeric
  2. NumericInstances
  3. AnyRef
  4. 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]]]
    Definition Classes
    NumericInstances
  6. def byteGreaterThanGen[N](implicit wn: WitnessAs[N, Byte]): Gen[Any, Refined[Byte, Greater[N]]]
    Definition Classes
    NumericInstances
  7. implicit def byteLessThan[N](implicit wn: WitnessAs[N, Byte]): DeriveGen[Refined[Byte, Less[N]]]
    Definition Classes
    NumericInstances
  8. def byteLessThanGen[N](implicit wn: WitnessAs[N, Byte]): Gen[Any, Refined[Byte, Less[N]]]
    Definition Classes
    NumericInstances
  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]]]
    Definition Classes
    NumericInstances
  11. def doubleGreaterThanGen[N](implicit wn: WitnessAs[N, Double]): Gen[Any, Refined[Double, Greater[N]]]
    Definition Classes
    NumericInstances
  12. implicit def doubleLessThan[N](implicit wn: WitnessAs[N, Double]): DeriveGen[Refined[Double, Less[N]]]
    Definition Classes
    NumericInstances
  13. def doubleLessThanGen[N](implicit wn: WitnessAs[N, Double]): Gen[Any, Refined[Double, Less[N]]]
    Definition Classes
    NumericInstances
  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]]]
    Definition Classes
    NumericInstances
  20. def intGreaterThanGen[N](implicit wn: WitnessAs[N, Int]): Gen[Any, Refined[Int, Greater[N]]]
    Definition Classes
    NumericInstances
  21. implicit def intLessThan[N](implicit wn: WitnessAs[N, Int]): DeriveGen[Refined[Int, Less[N]]]
    Definition Classes
    NumericInstances
  22. def intLessThanGen[N](implicit wn: WitnessAs[N, Int]): Gen[Any, Refined[Int, Less[N]]]
    Definition Classes
    NumericInstances
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. implicit def longGreaterThan[N](implicit wn: WitnessAs[N, Long]): DeriveGen[Refined[Long, Greater[N]]]
    Definition Classes
    NumericInstances
  25. def longGreaterThanGen[N](implicit wn: WitnessAs[N, Long]): Gen[Any, Refined[Long, Greater[N]]]
    Definition Classes
    NumericInstances
  26. implicit def longLessThan[N](implicit wn: WitnessAs[N, Long]): DeriveGen[Refined[Long, Less[N]]]
    Definition Classes
    NumericInstances
  27. def longLessThanGen[N](implicit wn: WitnessAs[N, Long]): Gen[Any, Refined[Long, Less[N]]]
    Definition Classes
    NumericInstances
  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]]]
    Definition Classes
    NumericInstances
  32. def shortGreaterThanGen[N](implicit wn: WitnessAs[N, Short]): Gen[Any, Refined[Short, Greater[N]]]
    Definition Classes
    NumericInstances
  33. implicit def shortLessThan[N](implicit wn: WitnessAs[N, Short]): DeriveGen[Refined[Short, Less[N]]]
    Definition Classes
    NumericInstances
  34. def shortLessThanGen[N](implicit wn: WitnessAs[N, Short]): Gen[Any, Refined[Short, Less[N]]]
    Definition Classes
    NumericInstances
  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 NumericInstances

Inherited from AnyRef

Inherited from Any

Ungrouped