FunctionTest

S is a struct containing input data and the expected value T is the return type of the function being tested N is the number of inputs

Constructors

this
this()
Undocumented in source.
this
this(string name)
Undocumented in source.

Members

Functions

report
string report()
Undocumented in source. Be warned that the author may not have intended to support it.
test
void test(S s, T actual, int precision, string file, int line)
Undocumented in source. Be warned that the author may not have intended to support it.
tests
string tests(int n)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

failCount
int failCount;
Undocumented in source.
messages
string[] messages;
Undocumented in source.
name
string name;
Undocumented in source.
passCount
int passCount;
Undocumented in source.
testCount
int testCount;
Undocumented in source.

Meta