Test.h 455 B

1234567891011121314151617181920212223242526
  1. #ifndef TEST_H
  2. #define TEST_H
  3. #include <iostream>
  4. #include "TestLogger.h"
  5. using namespace std;
  6. class Test
  7. {
  8. public:
  9. static void test();
  10. private:
  11. static int done;
  12. static int tests;
  13. static TestLogger logger;
  14. static void testTokenizer();
  15. static void testCompiler();
  16. static void testOutput();
  17. static void forEachFile(const string& path, const string& ending, void (*f) (const string&, const string&));
  18. };
  19. #endif