/** * unshift() tests */ void testUnshift() { IntVector v; v.push(0); v.unshift(5); assert(v.size() == 2); assert(v[0] == 5); assert(v[1] == 0); }