Table of Contents

Class LongGenerator

Namespace
Hegel
Assembly
Hegel.dll

Draws 64-bit integers in a range.

public sealed class LongGenerator : ValueGenerator<long>
Inheritance
LongGenerator
Inherited Members

Properties

Label

The span label the engine files this generator's draws under. Defaults to a label derived from the class's full name.

public override ulong Label { get; }

Property Value

ulong

Methods

DoDraw(TestCase)

Draw one value. Called inside a span labelled Label: draw from another generator through DrawSilent<T>(Generator<T>), which opens its span, rather than by calling its hook.

protected override long DoDraw(TestCase tc)

Parameters

tc TestCase

Returns

long

Max(long)

At most max.

public LongGenerator Max(long max)

Parameters

max long

Returns

LongGenerator

Min(long)

At least min.

public LongGenerator Min(long min)

Parameters

min long

Returns

LongGenerator