General Purpose library for Freestanding C++ and POSIX systems
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

21 строка
477 B

2 лет назад
2 лет назад
2 лет назад
  1. #include "test_scaffold.h"
  2. #include <gp/containers/flat_tree.hpp>
  3. #include <iostream>
  4. struct flat_tree_test : public test_scaffold {
  5. flat_tree_test() {
  6. name = __FILE__ ":1";
  7. }
  8. virtual int run() {
  9. gp::array<int,7> v = {1,2,3,4,5,6,7};
  10. gp::flat_tree<int, 7> hello(v);
  11. for(auto elem : hello) {
  12. //std::cout << elem << std::endl;
  13. }
  14. // TODO: implement a proper test, not this sad placeholder
  15. return 0;
  16. }
  17. };
  18. append_test dummy_sdfjlm6543(new flat_tree_test{});