HijackMain

Hijacks your main function and runs the tests in mod. mixin this to inject a C main that initializes the runtime and prints the tests etc.

template HijackMain (
alias mod
) {}

Members

Functions

main
int main()
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

mod

Where to gets the tests from

Examples

just to get some compilation errors

foreach(_; 0..10_000)
{

}
//alias g = TimeTests!testquark;

Meta