Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: third_party/WebKit/Source/platform/transforms/TransformationMatrixTest.cpp

Issue 2801623005: Rewrite references to "wtf/" to "platform/wtf/" in platform/transforms. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/transforms/TransformationMatrix.h" 5 #include "platform/transforms/TransformationMatrix.h"
6 6
7 #include "platform/wtf/text/WTFString.h"
7 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
8 #include "wtf/text/WTFString.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 TEST(TransformationMatrixTest, NonInvertableBlendTest) { 12 TEST(TransformationMatrixTest, NonInvertableBlendTest) {
13 TransformationMatrix from; 13 TransformationMatrix from;
14 TransformationMatrix to(2.7133590938, 0.0, 0.0, 0.0, 0.0, 2.4645137761, 0.0, 14 TransformationMatrix to(2.7133590938, 0.0, 0.0, 0.0, 0.0, 2.4645137761, 0.0,
15 0.0, 0.0, 0.0, 0.00, 0.01, 0.02, 0.03, 0.04, 0.05); 15 0.0, 0.0, 0.0, 0.00, 0.01, 0.02, 0.03, 0.04, 0.05);
16 TransformationMatrix result; 16 TransformationMatrix result;
17 17
18 result = to; 18 result = to;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 8, 4, 4, 4, 9); 123 8, 4, 4, 4, 9);
124 // [ 1 2 3 4 ] 124 // [ 1 2 3 4 ]
125 // [ 1 2 3 4 ] 125 // [ 1 2 3 4 ]
126 // [ 1 0 3 4 ] 126 // [ 1 0 3 4 ]
127 // [ 6 7 8 9 ] 127 // [ 6 7 8 9 ]
128 EXPECT_EQ("[1,2,3,4,\n1,2,3,4,\n1,0,3,4,\n6,7,8,9]", 128 EXPECT_EQ("[1,2,3,4,\n1,2,3,4,\n1,0,3,4,\n6,7,8,9]",
129 columnMajorConstructor.toString(true)); 129 columnMajorConstructor.toString(true));
130 } 130 }
131 131
132 } // namespace blink 132 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698