OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c15949
)
Use the testcase from PR2791.
author
Owen Anderson
<resistor@mac.com>
Thu, 23 Apr 2009 00:15:26 +0000
(
00:15
+0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 23 Apr 2009 00:15:26 +0000
(
00:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69846
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/ADT/SmallVectorTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/ADT/SmallVectorTest.cpp
b/unittests/ADT/SmallVectorTest.cpp
index
7404bee
..
19ef099
100644
(file)
--- a/
unittests/ADT/SmallVectorTest.cpp
+++ b/
unittests/ADT/SmallVectorTest.cpp
@@
-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, 1
0, 15
);
+ theVector.insert(theVector.begin() + 1,
2, Constructable(16
));
+ assertValuesInOrder(theVector,
8u, 10, 16, 16, 11, 12, 13, 14, 15
);
}
// Insert range.