[vector/array] Add simple test for sorted size
This commit is contained in:
parent
4e618557a6
commit
85e0be1357
|
@ -70,6 +70,8 @@ test_reverse_invalid ()
|
|||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
assert (sizeof (hb_array_t<int>) == sizeof (hb_sorted_array_t<int>));
|
||||
|
||||
test_reverse ();
|
||||
test_reverse_range ();
|
||||
test_reverse_invalid ();
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
assert (sizeof (hb_vector_t<int>) == sizeof (hb_sorted_vector_t<int>));
|
||||
|
||||
/* Test copy constructor. */
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue