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.

21 lines
477 B

  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{});