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
  • AllTypesInstances
  • CharInstances
  • DigitInstances
  • NetInstances
  • NumericInstances
  • StringInstance
  • TimeInstances
  • all
  • char
  • digit
  • net
  • numeric
  • string
  • time
t

zio.test.refined.types

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. implicit val negBigDecimalDeriveGen: DeriveGen[NegBigDecimal]
  13. val negBigDecimalGen: Gen[Any, NegBigDecimal]
  14. implicit val negBigIntDeriveGen: DeriveGen[NegBigInt]
  15. val negBigIntGen: Gen[Any, NegBigInt]
  16. implicit val negByteDeriveGen: DeriveGen[NegByte]
  17. val negByteGen: Gen[Any, NegByte]
  18. implicit val negDoubleDeriveGen: DeriveGen[NegDouble]
  19. val negDoubleGen: Gen[Any, NegDouble]
  20. implicit val negFloatDeriveGen: DeriveGen[NegFloat]
  21. val negFloatGen: Gen[Any, NegFloat]
  22. implicit val negIntDeriveGen: DeriveGen[NegInt]
  23. val negIntGen: Gen[Any, NegInt]
  24. implicit val negLongDeriveGen: DeriveGen[NegLong]
  25. val negLongGen: Gen[Any, NegLong]
  26. implicit val negShortDeriveGen: DeriveGen[NegShort]
  27. val negShortGen: Gen[Any, NegShort]
  28. implicit val nonNanDoubleDeriveGen: DeriveGen[NonNaNDouble]
  29. val nonNanDoubleGen: Gen[Any, NonNaNDouble]
  30. implicit val nonNanFloatDeriveGen: DeriveGen[NonNaNFloat]
  31. val nonNanFloatGen: Gen[Any, NonNaNFloat]
  32. implicit val nonNegBigDecimalDeriveGen: DeriveGen[NonNegBigDecimal]
  33. val nonNegBigDecimalGen: Gen[Any, NonNegBigDecimal]
  34. implicit val nonNegBigIntDeriveGen: DeriveGen[NonNegBigInt]
  35. val nonNegBigIntGen: Gen[Any, NonNegBigInt]
  36. implicit val nonNegByteDeriveGen: DeriveGen[NonNegByte]
  37. val nonNegByteGen: Gen[Any, NonNegByte]
  38. implicit val nonNegDoubleDeriveGen: DeriveGen[NonNegDouble]
  39. val nonNegDoubleGen: Gen[Any, NonNegDouble]
  40. implicit val nonNegFloatDeriveGen: DeriveGen[NonNegFloat]
  41. val nonNegFloatGen: Gen[Any, NonNegFloat]
  42. implicit val nonNegIntDeriveGen: DeriveGen[NonNegInt]
  43. val nonNegIntGen: Gen[Any, NonNegInt]
  44. implicit val nonNegLongDeriveGen: DeriveGen[NonNegLong]
  45. val nonNegLongGen: Gen[Any, NonNegLong]
  46. implicit val nonNegShortDeriveGen: DeriveGen[NonNegShort]
  47. val nonNegShortGen: Gen[Any, NonNegShort]
  48. implicit val nonPosBigDecimalDeriveGen: DeriveGen[NonPosBigDecimal]
  49. val nonPosBigDecimalGen: Gen[Any, NonPosBigDecimal]
  50. implicit val nonPosBigIntDeriveGen: DeriveGen[NonPosBigInt]
  51. val nonPosBigIntGen: Gen[Any, NonPosBigInt]
  52. implicit val nonPosByteDeriveGen: DeriveGen[NonPosByte]
  53. val nonPosByteGen: Gen[Any, NonPosByte]
  54. implicit val nonPosDoubleDeriveGen: DeriveGen[NonPosDouble]
  55. val nonPosDoubleGen: Gen[Any, NonPosDouble]
  56. implicit val nonPosFloatDeriveGen: DeriveGen[NonPosFloat]
  57. val nonPosFloatGen: Gen[Any, NonPosFloat]
  58. implicit val nonPosIntDeriveGen: DeriveGen[NonPosInt]
  59. val nonPosIntGen: Gen[Any, NonPosInt]
  60. implicit val nonPosLongDeriveGen: DeriveGen[NonPosLong]
  61. val nonPosLongGen: Gen[Any, NonPosLong]
  62. implicit val nonPosShortDeriveGen: DeriveGen[NonPosShort]
  63. val nonPosShortGen: Gen[Any, NonPosShort]
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. implicit val posBigDecimalDeriveGen: DeriveGen[PosBigDecimal]
  67. val posBigDecimalGen: Gen[Any, PosBigDecimal]
  68. implicit val posBigIntDeriveGen: DeriveGen[PosBigInt]
  69. val posBigIntGen: Gen[Any, PosBigInt]
  70. implicit val posByteDeriveGen: DeriveGen[PosByte]
  71. val posByteGen: Gen[Any, PosByte]
  72. implicit val posDoubleDeriveGen: DeriveGen[PosDouble]
  73. val posDoubleGen: Gen[Any, PosDouble]
  74. implicit val posFloatDeriveGen: DeriveGen[PosFloat]
  75. val posFloatGen: Gen[Any, PosFloat]
  76. implicit val posIntDeriveGen: DeriveGen[PosInt]
  77. val posIntGen: Gen[Any, PosInt]
  78. implicit val posLongDeriveGen: DeriveGen[PosLong]
  79. val posLongGen: Gen[Any, PosLong]
  80. implicit val posShortDeriveGen: DeriveGen[PosShort]
  81. val posShortGen: Gen[Any, PosShort]
  82. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  83. def toString(): String
    Definition Classes
    AnyRef → Any
  84. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  86. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped