Use the testcase from PR2791.

llvm-svn: 69846
This commit is contained in:
Owen Anderson 2009-04-23 00:15:26 +00:00
parent d8174d3d09
commit d4f5537c5e
1 changed files with 3 additions and 3 deletions

View File

@ -340,9 +340,9 @@ TEST_F(SmallVectorTest, InsertTest) {
TEST_F(SmallVectorTest, InsertRepeatedTest) {
SCOPED_TRACE("InsertRepeatedTest");
makeSequence(theVector, 1, 3);
theVector.insert(theVector.begin() + 1, 3, Constructable(77));
assertValuesInOrder(theVector, 6u, 1, 77, 77, 77, 2, 3);
makeSequence(theVector, 10, 15);
theVector.insert(theVector.begin() + 1, 2, Constructable(16));
assertValuesInOrder(theVector, 8u, 10, 16, 16, 11, 12, 13, 14, 15);
}
// Insert range.