[test-vector] Test inserting set and map

This commit is contained in:
Behdad Esfahbod 2022-11-15 16:27:56 -07:00
parent 0a97d27c2b
commit f734c26c5c
1 changed files with 13 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#include "hb.hh"
#include "hb-vector.hh"
#include "hb-set.hh"
#include "hb-map.hh"
#include <string>
@ -164,5 +165,17 @@ main (int argc, char **argv)
v2.remove (50);
}
{
hb_vector_t<hb_set_t> v;
hb_set_t s {1, 5, 7};
v.push (s);
}
{
hb_vector_t<hb_set_t> v;
hb_map_t m;
v.push (m);
}
return 0;
}