Skip to content

IntProperty

[Source]

Tests a property across all 14 Pony integer types by dispatching each sample to int_property[T] with the appropriate type.

trait ref IntProperty is
  Property[IntPropertySample ref] ref

Implements


Public Functions

gen

[Source]

fun box gen()
: Generator[IntPropertySample ref] box

Returns


property

[Source]

fun ref property(
  sample: IntPropertySample ref,
  h: PropertyHelper val)
: None val ?

Parameters

Returns


int_property[T: (Int & Integer[T] val)]

[Source]

The property to verify for the given integer sample.

fun ref int_property[T: (Int & Integer[T] val)](
  x: T,
  h: PropertyHelper val)
: None val ?

Parameters

Returns


name

[Source]

fun box name()
: String val

Returns


params

[Source]

fun box params()
: PropertyParams val

Returns