TDKCandidates // Fix unit test error.

This commit is contained in:
ShikiSuen 2022-10-14 16:42:42 +08:00
parent 29b89518c0
commit da25d6acb5
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ final class CandidatePoolTests: XCTestCase {
func testPoolHorizontal() throws {
let pool = CandidatePool(candidates: testCandidates, rowCapacity: 6)
var strOutput = ""
pool.candidateRows.forEach {
pool.candidateLines.forEach {
$0.forEach {
strOutput += $0.displayedText + ", "
}
@ -34,7 +34,7 @@ final class CandidatePoolTests: XCTestCase {
func testPoolVertical() throws {
let pool = CandidatePool(candidates: testCandidates, columnCapacity: 6)
var strOutput = ""
pool.candidateColumns.forEach {
pool.candidateLines.forEach {
$0.forEach {
strOutput += $0.displayedText + ", "
}