commit | d1412303d964b952ac9fce5daa84b1b0f1c3e6d4 | [log] [tgz] |
---|---|---|
author | Chiao Cheng <chiaocheng@google.com> | Wed Nov 28 16:41:38 2012 -0800 |
committer | Chiao Cheng <chiaocheng@google.com> | Wed Nov 28 16:41:38 2012 -0800 |
tree | c35df5ea8e576ec8e2f3c25c1854c5048e360242 | |
parent | 1c9e54ba553681de7cbbe4eaf522bc50244366dc [diff] |
Cherry picking BitmapUtilTest fix. Fixed on master in I85268c040498621a324c459ce237a51b30e7d3a4. Bug: 7633565 Change-Id: I47fe32cdcc3780d42be99283f7b6e42b4e4ab940
diff --git a/tests/src/com/android/contacts/util/BitmapUtilTests.java b/tests/src/com/android/contacts/util/BitmapUtilTests.java index 554fc97..8180b7c 100644 --- a/tests/src/com/android/contacts/util/BitmapUtilTests.java +++ b/tests/src/com/android/contacts/util/BitmapUtilTests.java
@@ -60,7 +60,7 @@ } public void testFindOptimalSampleSizeSmaller3() throws Exception { - assertEquals(2, BitmapUtil.findOptimalSampleSize(512, 129)); + assertEquals(4, BitmapUtil.findOptimalSampleSize(512, 129)); } public void testFindOptimalSampleSizeSmaller4() throws Exception {