]> git.stg.codes - stg.git/blob - tests/main.cpp
Добавляем каталог с тестами
[stg.git] / tests / main.cpp
1 #include <tut/tut.hpp>
2 #include <tut_reporter.h>
3 #include <iostream>
4
5 using std::exception;
6 using std::cerr;
7 using std::endl;
8
9 namespace tut
10 {
11     test_runner_singleton runner;
12 }
13
14 int main()
15 {
16     tut::reporter reporter;
17     tut::runner.get().set_callback(&reporter);
18
19     tut::runner.get().run_tests();
20
21     return !reporter.all_ok();
22 }