diff --git a/src/main.hpp b/src/main.hpp index 5bf8321..c9e6438 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -50,13 +50,6 @@ unsigned int random_seed; namespace cest { - class AssertionError : public std::exception - { - }; - class ForcedPassError : public std::exception - { - }; - std::string describeFunction(std::string test_name, std::function test) { test(); diff --git a/src/types.hpp b/src/types.hpp index 004dcbe..930c47f 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -27,4 +27,11 @@ namespace cest std::vector test_cases; std::string test_suite_name; }; + + class AssertionError : public std::exception + { + }; + class ForcedPassError : public std::exception + { + }; } \ No newline at end of file