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

Unified Diff: webrtc/system_wrappers/source/aligned_array_unittest.cc

Issue 1178043005: Restore rows() and cols() in aligned_array.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/system_wrappers/interface/aligned_array.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/source/aligned_array_unittest.cc
diff --git a/webrtc/system_wrappers/source/aligned_array_unittest.cc b/webrtc/system_wrappers/source/aligned_array_unittest.cc
index e5e556dff5d04634a46811012629eaa68d6a1f23..f25c7178d21635533ef410f7230b2e20d12bfafd 100644
--- a/webrtc/system_wrappers/source/aligned_array_unittest.cc
+++ b/webrtc/system_wrappers/source/aligned_array_unittest.cc
@@ -51,5 +51,10 @@ TEST(AlignedArrayTest, CheckOverlap) {
}
}
-} // namespace webrtc
+TEST(AlignedArrayTest, CheckRowsCols) {
+ AlignedArray<bool> arr(10, 7, 128);
+ ASSERT_EQ(arr.rows(), 10);
Peter Kasting 2015/06/18 16:22:47 Nit: (expected, actual) (2 places)
+ ASSERT_EQ(arr.cols(), 7);
+}
+} // namespace webrtc
« no previous file with comments | « webrtc/system_wrappers/interface/aligned_array.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698