au.id.tmm.utilities.testing

Type members

Classlikes

sealed abstract class Animal(val category: Category)
Companion:
object
object Animal
Companion:
class
sealed abstract class CoinToss
Companion:
object
object CoinToss
Companion:
class
sealed abstract class Fruit(val emoji: String)
Companion:
object
object Fruit
Companion:
class
sealed abstract class MiniFloat

A floating-point number with a range of values small enough to make it efficient to test every value.

A floating-point number with a range of values small enough to make it efficient to test every value.

MiniFloat can have one of the following 14 values:

  • NegativeInfinity

  • -8.0

  • -4.0

  • -2.0

  • -1.0

  • -0.5

  • 0.0

  • 0.5

  • 1.0

  • 2.0

  • 4.0

  • 8.0

  • PositiveInfinity

  • NaN

In almost all respects (overflows, value approximation, floating point errors) it behaves similarly to Float and Double. The main difference is that MiniFloat does not support the -0.0 value, which is represented as 0.0.

Companion:
object
object MiniFloat
Companion:
class
sealed abstract class Planet(val distanceFromSunAU: Double, val massE: Double)
Companion:
object
object Planet
Companion:
class
sealed abstract class TrafficLight(val emoji: String)
Companion:
object
Companion:
class
final case class Wrapped[A](unwrap: A)
final case class WrappedK[F[_], A](unwrap: F[A])