#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;
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
};
|
|
|
|
append_test dummy_sdfjlm6543(new flat_tree_test{});
|