mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
make testMozcEvaluationData macOS-only to avoid build failure in Linux
This commit is contained in:
@ -631,6 +631,7 @@ import XCTest
|
||||
XCTAssertGreaterThan(accuracy, 0.7) // 0.7 < accuracy
|
||||
}
|
||||
|
||||
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
|
||||
func testMozcEvaluationData() async throws {
|
||||
// ダウンロードするURL
|
||||
let urlString = "https://raw.githubusercontent.com/google/mozc/master/src/data/dictionary_oss/evaluation.tsv"
|
||||
@ -711,6 +712,7 @@ import XCTest
|
||||
XCTAssertTrue(mozcScore < azooKeyScore)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
enum MozcCommand: Equatable {
|
||||
/// 変換に`arg`が現れる
|
||||
|
Reference in New Issue
Block a user