[llvm-commits] [llvm] r69846 - /llvm/trunk/unittests/ADT/SmallVectorTest.cpp
Nick Lewycky
nicholas at mxc.ca
Wed Apr 22 19:52:43 PDT 2009
Owen Anderson wrote:
> Author: resistor
> Date: Wed Apr 22 19:15:26 2009
> New Revision: 69846
>
> URL: http://llvm.org/viewvc/llvm-project?rev=69846&view=rev
> Log:
> Use the testcase from PR2791.
Have you got wrong PR?
>
> Modified:
> llvm/trunk/unittests/ADT/SmallVectorTest.cpp
>
> Modified: llvm/trunk/unittests/ADT/SmallVectorTest.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/SmallVectorTest.cpp?rev=69846&r1=69845&r2=69846&view=diff
>
> ==============================================================================
> --- llvm/trunk/unittests/ADT/SmallVectorTest.cpp (original)
> +++ llvm/trunk/unittests/ADT/SmallVectorTest.cpp Wed Apr 22 19:15:26 2009
> @@ -340,9 +340,9 @@
> 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.
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list