clean up unnecessary test script messages.

This commit is contained in:
Peter Tang
2023-09-18 20:10:52 +08:00
parent b637b18ace
commit c6ea427bfb
2 changed files with 3 additions and 7 deletions

View File

@@ -55,9 +55,9 @@ final class MTFontMathTableV2Tests: XCTestCase {
mTable?.fractionNumeratorDisplayStyleGapMin,
mTable?.fractionNumeratorGapMin,
].compactMap{$0}
if count % 50 == 0 {
print(values) // accessed these values on global thread.
}
// if count % 50 == 0 {
// print(values) // accessed these values on global thread.
// }
XCTAssertNotNil(mTable)
}
workitem.notify(queue: .main) { [weak self] in

View File

@@ -42,8 +42,6 @@ final class MathImageTests: XCTestCase {
safeImage(fileName: "\(caseNumber)", pngData: imageData)
let fileUrl = URL(fileURLWithPath: NSTemporaryDirectory())
print("completed image-\(caseNumber).png")
} else {
print("failed image-\(caseNumber).png")
}
default:
result = SwiftMathImageResult.useMTMathImage(latex: latex, font: mathfont, fontSize: fontsize)
@@ -53,8 +51,6 @@ final class MathImageTests: XCTestCase {
safeImage(fileName: "\(caseNumber)", pngData: imageData)
let fileUrl = URL(fileURLWithPath: NSTemporaryDirectory())
print("completed image-\(caseNumber).png")
} else {
print("failed image-\(caseNumber).png")
}
}
}