General Purpose library for Freestanding C++ and POSIX systems
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

21 satır
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{});