Size

sealed abstract case class Size

Tests are parameterized by the size of the randomly-generated data, the meaning of which depends on the particular generator used.

Tests are parameterized by the size of the randomly-generated data, the meaning of which depends on the particular generator used.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def golden: Size

Scale a size using the golden ratio.

Scale a size using the golden ratio.

def incBy(v: Size): Size
def percentage: Double

Represents the size as a percentage (0 - 1) which is useful for range calculations

Represents the size as a percentage (0 - 1) which is useful for range calculations

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product