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

Side by Side Diff: skia/ext/recursive_gaussian_convolution_unittest.cc

Issue 1540963004: Switch to standard integer types in skia/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed some Created 5 years 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <functional> 5 #include <functional>
6 #include <numeric> 6 #include <numeric>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "skia/ext/convolver.h" 13 #include "skia/ext/convolver.h"
15 #include "skia/ext/recursive_gaussian_convolution.h" 14 #include "skia/ext/recursive_gaussian_convolution.h"
16 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
17 #include "third_party/skia/include/core/SkPoint.h" 16 #include "third_party/skia/include/core/SkPoint.h"
18 #include "third_party/skia/include/core/SkRect.h" 17 #include "third_party/skia/include/core/SkRect.h"
19 18
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 box.bottom() - spread), 385 box.bottom() - spread),
387 kImgWidth); 386 kImgWidth);
388 // Since second derivative is not really used and implemented mostly 387 // Since second derivative is not really used and implemented mostly
389 // for the sake of completeness, we do not verify the detail (that dip 388 // for the sake of completeness, we do not verify the detail (that dip
390 // in the middle). But it is there. 389 // in the middle). But it is there.
391 EXPECT_EQ(box_deflated, 0); 390 EXPECT_EQ(box_deflated, 0);
392 EXPECT_EQ(image_total, box_inflated); 391 EXPECT_EQ(image_total, box_inflated);
393 } 392 }
394 393
395 } // namespace skia 394 } // namespace skia
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698