UnitTests // Remove a useless test.

This commit is contained in:
ShikiSuen 2022-08-07 20:08:52 +08:00
parent 1fdb767805
commit aaecf097b2
1 changed files with 0 additions and 10 deletions

View File

@ -98,16 +98,6 @@ class PrefManagerTests: XCTestCase {
XCTAssert(mgrPrefs.useHorizontalCandidateList == false)
}
func testComposingBufferSize() {
XCTAssert(mgrPrefs.composingBufferSize == 20)
mgrPrefs.composingBufferSize = 10
XCTAssert(mgrPrefs.composingBufferSize == 10)
mgrPrefs.composingBufferSize = 4
XCTAssert(mgrPrefs.composingBufferSize == 10)
mgrPrefs.composingBufferSize = 50
XCTAssert(mgrPrefs.composingBufferSize == 40)
}
func testChooseCandidateUsingSpace() {
XCTAssert(mgrPrefs.chooseCandidateUsingSpace == true)
mgrPrefs.chooseCandidateUsingSpace = false