diff --git a/src/test-map.cc b/src/test-map.cc index 8c167b1da..f57526b4b 100644 --- a/src/test-map.cc +++ b/src/test-map.cc @@ -25,7 +25,9 @@ #include "hb.hh" #include "hb-map.hh" +#include +static const std::string invalid{"invalid"}; int main (int argc, char **argv) @@ -108,5 +110,24 @@ main (int argc, char **argv) assert (m3.get_population () == 0); } +#if 0 + { + hb_hashmap_t m0; + hb_hashmap_t m1; + hb_hashmap_t m2; + hb_hashmap_t m3; + + std::string s; + for (unsigned i = 1; i < 1000; i++) + { + s += "x"; + m0.set (i, i); + m1.set (s, i); + m2.set (i, s); + m3.set (s, s); + } + } +#endif + return 0; }