Values

Used as a UDA for built-in unittests to enable value-parametrized tests.

Values
(
T
)
()

Examples

@Values(1, 2, 3) unittest { assert(getValue!int % 2 == 0); }

The example above results in unit_threaded running the unit tests 3 times, once for each value declared.

See getValue.

Meta