General Purpose library for Freestanding C++ and POSIX systems
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

22 rindas
477 B

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