General Purpose library for Freestanding C++ and POSIX systems
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.

30 lines
533 B

пре 3 година
  1. #include "test_scaffold.h"
  2. #include "gp/containers/array.hpp"
  3. #include "gp/system/logging_segment.hpp"
  4. #include <chrono>
  5. #include <cmath>
  6. #include <fstream>
  7. #include <iomanip>
  8. #include <iostream>
  9. struct logging_test : public test_scaffold {
  10. logging_test() {
  11. name = __FILE__ ":1";
  12. }
  13. virtual int run() {
  14. int res = 0;
  15. const gp::buffer<char> name{"FIRST TEST"};
  16. const gp::buffer<char> text{"FIRST TEST TEXT"};
  17. static_logging_segment<4> logger;
  18. return res;
  19. }
  20. };
  21. append_test dummy_rduhk786f(new logging_test{});