[test-vector] Test inserting set and map
This commit is contained in:
parent
0a97d27c2b
commit
f734c26c5c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue