Module tanya.test.stub

Range and generic type generators.

Structs

NameDescription
Count Attribute signalizing that the generated range should contain the given number of elements.
Hashable Struct supporting hashing.
Infinite Attribute signalizing that the generated range should be infinite.
Length Generates .length property for the range.
NonCopyable Struct with a disabled postblit constructor.
WithDtor Struct with an elaborate destructor.
WithLvalueElements Attribute signalizing that the generated range should return values by reference.

Templates

NameDescription
BidirectionalRangeStub Generates a bidirectional range.
ForwardRangeStub Generates a forward range.
InputRangeStub Generates an input range.
RandomAccessRangeStub Generates a random-access range.
StructStub Generates a struct with common functionality.