Table of Contents

Namespace FEFF.TestFixtures.AspNetCore.Randomness

Classes

FakeRandom

A configurable random number generator for testing.
All public methods are thread-safe via lock().

FixedNextStrategy

Factory methods for creating FixedNextStrategy<T> instances.

FixedNextStrategy<T>

A random strategy that always returns the same fixed value.

ReturnAsIsNormalization

A normalization strategy that returns the generated value unchanged, regardless of whether it falls inside or outside the valid range for the target method.

ThrowNormalization

A normalization strategy that throws InvalidOperationException when a generated value falls outside the valid range for the target method.

Interfaces

INextStrategy<T>

Defines a strategy for generating fake values for a specific type in FakeRandom.

INormalizationStrategy

Defines how FakeRandom should handle generated values that fall outside the valid range of the target Random method.