1 // Write your custom tests here so you don't have to think about how to compile
2 // and execute your test code against the exact same library that you are
5 #include "testutilities.h"
8 #include <sigc++/sigc++.h>
12 std::ostringstream result_stream;
14 } // end anonymous namespace
16 int main(int argc, char* argv[])
18 auto util = TestUtilities::get_instance();
20 if (!util->check_command_args(argc, argv))
21 return util->get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;
23 result_stream << "Example result string";
24 util->check_result(result_stream, "Example result string");
26 return util->get_result_and_delete_instance() ? EXIT_SUCCESS : EXIT_FAILURE;