public void test_Constructor() {
Vector<Integer> tv = new Vector<>(100);
for (int i = 0; i < 100; i++) {
tv.addElement(i);
}
new Support_ListTest(tv).runTest();
tv = new Vector<>(200);
for (int i = -50; i < 150; i++) {
tv.addElement(i);
}
new Support_ListTest(tv.subList(50, 150)).runTest();
Vector<String> v = new Vector<>();
assertEquals("Vector creation failed", 0, v.size());
assertEquals("Wrong capacity", 10, v.capacity());
}