Skip to content

Messy Generators

This library provides generator combinators that include nulls and infinities. The basic combinators in .qch.g do not include these values unless specified explicitly.

The generators within this library can be used with any .qch.g generators.

.qch.g.messy.any

A generator for messy basetypes. Random basetypes, nulls, or infinities.

Example:

 .qch.g.reify .qch.g.messy.any[]

.qch.g.messy.bool

A generator for random messy (values, null, or infinity) bools.

Example: Random booleans

 .qch.g.reify .qch.g.messy.bool[]

.qch.g.messy.byte

A generator for random messy (values, null, or infinity) bytes.

Example: Random bytes

 .qch.g.reify .qch.g.messy.byte[]

.qch.g.messy.char

A generator for random messy (values, null, or infinity) chars.

Example: Random chars

 .qch.g.reify .qch.g.messy.char[]

.qch.g.messy.date

A generator for random messy (values, null, or infinity) dates.

Example: Random dates

 .qch.g.reify .qch.g.messy.date[]

.qch.g.messy.datetime

A generator for random messy (values, null, or infinity) datetimes.

Parameter(s):

Name Type Description
r datetime

Returns:

Name Type Description
<returns> dict

Example: Random datetimes

 .qch.g.reify .qch.g.messy.datetime[]

.qch.g.messy.enum

A generator for random messy (values, null, or infinity) enums.

Example: Random enums

 .qch.g.reify .qch.g.messy.enum[]

.qch.g.messy.float

A generator for random messy (values, null, or infinity) floats.

Example: Random floats

 .qch.g.reify .qch.g.messy.float[]

.qch.g.messy.guid

A generator for random messy (values, null, or infinity) GUIDs.

Example: Random GUIDs

 .qch.g.reify .qch.g.messy.guid[]

.qch.g.messy.int

A generator for random messy (values, null, or infinity) ints.

Example: Random ints

 .qch.g.reify .qch.g.messy.int[]

.qch.g.messy.long

A generator for random messy (values, null, or infinity) longs.

Example: Random longs

 .qch.g.reify .qch.g.messy.long[]

.qch.g.messy.minute

A generator for random messy (values, null, or infinity) minutes.

Example: Random minutes.

 .qch.g.reify .qch.g.messy.minute[]

.qch.g.messy.month

A generator for random messy (values, null, or infinity) months.

Example: Random months

 .qch.g.reify .qch.g.messy.month[]

.qch.g.messy.real

A generator for random messy (values, null, or infinity) reals.

Example: Random reals

 .qch.g.reify .qch.g.messy.real[]

.qch.g.messy.second

A generator for random messy (values, null, or infinity) seconds.

Example: Random seconds

 .qch.g.reify .qch.g.messy.second[]

.qch.g.messy.short

A generator for random messy (values, null, or infinity) shorts.

Example: Random shorts

 .qch.g.reify .qch.g.messy.short[]

.qch.g.messy.symbol

A generator for random messy (values, null, or infinity) symbols.

Example: Random symbols

 .qch.g.reify .qch.g.messy.symbol[]

.qch.g.messy.time

A generator for random messy (values, null, or infinity) times.

Example: Random times

 .qch.g.reify .qch.g.messy.time[]

.qch.g.messy.timespan

A generator for random messy (values, null, or infinity) timespan.

Example: Random timespans

 .qch.g.reify .qch.g.messy.timespan[]

.qch.g.messy.timestamp

A generator for random messy (values, null, or infinity) timestamps.

Example: Random timestamps

 .qch.g.reify .qch.g.messy.timestamp[]