|
|
- #include "test_scaffold.h"
- #include <gp/containers/flat_tree.hpp>
- #include <iostream>
-
- struct flat_tree_test : public test_scaffold {
- flat_tree_test() {
- name = __FILE__ ":1";
- }
-
- virtual int run() {
- gp::array<int,7> v = {1,2,3,4,5,6,7};
- gp::flat_tree<int, 7> hello(v);
-
- for(auto elem : hello) {
- //std::cout << elem << std::endl;
- }
- // TODO: implement a proper test, not this sad placeholder
- return 0;
- }
- };
-
- append_test dummy_sdfjlm6543(new flat_tree_test{});
|