Add capacity check; fix vector_reserve unittest

This commit is contained in:
ELynx
2016-04-15 14:12:07 +03:00
parent cdb9dcc154
commit 62e34c097c
2 changed files with 2 additions and 1 deletions

View File

@@ -3,5 +3,5 @@ load_module("stl_extra");
auto uint16v = u16vector();
uint16v.reserve(5);
assert_true(uint16v.size() >= 5);
assert_true(uint16v.capacity() >= 5);