aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-05-23 20:20:56 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-05-23 20:20:56 +0900
commita37f374ad140f14e5e8ecaef9e1dbee3b1d7b84c (patch)
tree71b3ec258a380c806a710c8ecd49af8b358401f2 /tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
parent1adca93381d261a6070be2721dbf8b8abafbfe01 (diff)
downloadlatinime-a37f374ad140f14e5e8ecaef9e1dbee3b1d7b84c.tar.gz
latinime-a37f374ad140f14e5e8ecaef9e1dbee3b1d7b84c.tar.xz
latinime-a37f374ad140f14e5e8ecaef9e1dbee3b1d7b84c.zip
Version up dynamic dict format from 401 to 402.
Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
index 31ad3446a..79384092a 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java
@@ -47,11 +47,11 @@ public class BinaryDictionaryTests extends AndroidTestCase {
new int[] { FormatSpec.VERSION4, FormatSpec.VERSION4_DEV };
private static boolean canCheckBigramProbability(final int formatVersion) {
- return formatVersion >= FormatSpec.VERSION4_DEV;
+ return formatVersion > FormatSpec.VERSION401;
}
private static boolean supportsBeginningOfSentence(final int formatVersion) {
- return formatVersion >= FormatSpec.VERSION4_DEV;
+ return formatVersion > FormatSpec.VERSION401;
}
private File createEmptyDictionaryAndGetFile(final String dictId,