Searched refs:updatedProbability (Results 1 – 1 of 1) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 163 final int updatedProbability = 200; in testAddTooLongWord() local 165 addUnigramWord(binaryDictionary, validLongWord, updatedProbability); in testAddTooLongWord() 166 addUnigramWord(binaryDictionary, invalidLongWord, updatedProbability); in testAddTooLongWord() 167 addUnigramWord(binaryDictionary, "abc", updatedProbability); in testAddTooLongWord() 170 assertEquals(updatedProbability, binaryDictionary.getFrequency(validLongWord)); in testAddTooLongWord() 172 assertEquals(updatedProbability, binaryDictionary.getFrequency("abc")); in testAddTooLongWord() 227 final int updatedProbability = 200; in testAddUnigramWord() local 229 addUnigramWord(binaryDictionary, "aaa", updatedProbability); in testAddUnigramWord() 236 assertEquals(updatedProbability, binaryDictionary.getFrequency("aaa")); in testAddUnigramWord()
|