Skip to content

IntPairProperty

[Source]

Tests a property across all 14 Pony integer types with two values per sample, dispatching each to int_pair_property[T].

trait ref IntPairProperty is
  Property[IntPairPropertySample ref] ref

Implements


Public Functions

gen

[Source]

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

Returns


property

[Source]

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

Parameters

Returns


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

[Source]

The property to verify for the given integer pair.

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

Parameters

Returns


name

[Source]

fun box name()
: String val

Returns


params

[Source]

fun box params()
: PropertyParams val

Returns