clean up unnecessary test script messages.
This commit is contained in:
@@ -55,9 +55,9 @@ final class MTFontMathTableV2Tests: XCTestCase {
|
|||||||
mTable?.fractionNumeratorDisplayStyleGapMin,
|
mTable?.fractionNumeratorDisplayStyleGapMin,
|
||||||
mTable?.fractionNumeratorGapMin,
|
mTable?.fractionNumeratorGapMin,
|
||||||
].compactMap{$0}
|
].compactMap{$0}
|
||||||
if count % 50 == 0 {
|
// if count % 50 == 0 {
|
||||||
print(values) // accessed these values on global thread.
|
// print(values) // accessed these values on global thread.
|
||||||
}
|
// }
|
||||||
XCTAssertNotNil(mTable)
|
XCTAssertNotNil(mTable)
|
||||||
}
|
}
|
||||||
workitem.notify(queue: .main) { [weak self] in
|
workitem.notify(queue: .main) { [weak self] in
|
||||||
|
|||||||
@@ -42,8 +42,6 @@ final class MathImageTests: XCTestCase {
|
|||||||
safeImage(fileName: "\(caseNumber)", pngData: imageData)
|
safeImage(fileName: "\(caseNumber)", pngData: imageData)
|
||||||
let fileUrl = URL(fileURLWithPath: NSTemporaryDirectory())
|
let fileUrl = URL(fileURLWithPath: NSTemporaryDirectory())
|
||||||
print("completed image-\(caseNumber).png")
|
print("completed image-\(caseNumber).png")
|
||||||
} else {
|
|
||||||
print("failed image-\(caseNumber).png")
|
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
result = SwiftMathImageResult.useMTMathImage(latex: latex, font: mathfont, fontSize: fontsize)
|
result = SwiftMathImageResult.useMTMathImage(latex: latex, font: mathfont, fontSize: fontsize)
|
||||||
@@ -53,8 +51,6 @@ final class MathImageTests: XCTestCase {
|
|||||||
safeImage(fileName: "\(caseNumber)", pngData: imageData)
|
safeImage(fileName: "\(caseNumber)", pngData: imageData)
|
||||||
let fileUrl = URL(fileURLWithPath: NSTemporaryDirectory())
|
let fileUrl = URL(fileURLWithPath: NSTemporaryDirectory())
|
||||||
print("completed image-\(caseNumber).png")
|
print("completed image-\(caseNumber).png")
|
||||||
} else {
|
|
||||||
print("failed image-\(caseNumber).png")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user