mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Use the testcase from PR2791.
llvm-svn: 69846
This commit is contained in:
parent
bdfff0ba69
commit
d2cf86afcb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user