You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
452 B
23 lines
452 B
#include <fuc2/run.hpp>
|
|
|
|
// you can also place these into a .hpp you include if
|
|
// they're too numerous to manage
|
|
|
|
// this is how you do it directly
|
|
namespace sample1 {
|
|
extern fuc2::Set TESTS;
|
|
}
|
|
|
|
// this macro jsut does the above for you
|
|
TEST_SET(sample_failing);
|
|
|
|
using namespace fuc2;
|
|
|
|
int main(int argc, char* argv[]) {
|
|
std::vector<fuc2::Set> tests{
|
|
sample1::TESTS,
|
|
sample_failing::TESTS
|
|
};
|
|
|
|
return run_tests(tests, argc, argv);
|
|
}
|
|
|