Zen
A cross-platform functional programming language
|
Test result class. More...
#include <zrt.hpp>
Public Member Functions | |
TestResult () | |
Default constructor. | |
void | add (const z::string &name, const int &passed) |
Add a test result. | |
void | writeSummary () |
Write test summary. | |
Private Attributes | |
z::dict< z::string, int > | _result |
List of results. | |
int | _passed |
Total passed tests. | |
int | _total |
Total tests. |
Test result class.
void add | ( | const z::string & | name, |
const int & | passed | ||
) |
Add a test result.
name | Test name |
passed | Result of test |