mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
[Tests] Fixed arguments labels for performance tests.
This commit is contained in:
@@ -44,7 +44,7 @@ class Bzip2Tests: XCTestCase {
|
||||
#if PERF_TESTS
|
||||
print("Performing performance tests for \(Bzip2Tests.testType).\(testName)")
|
||||
self.measure {
|
||||
_ = try? BZip2.decompress(compressedData: testData)
|
||||
_ = try? BZip2.decompress(data: testData)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ class GzipTests: XCTestCase {
|
||||
#if PERF_TESTS
|
||||
print("Performing performance tests for gz.\(testName)")
|
||||
self.measure {
|
||||
_ = try? GzipArchive.unarchive(archiveData: archiveData)
|
||||
_ = try? GzipArchive.unarchive(archive: testData)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ class XZTests: XCTestCase {
|
||||
#if PERF_TESTS
|
||||
print("Performing performance tests for \(XZTests.testType).\(testName)")
|
||||
self.measure {
|
||||
_ = try? XZArchive.unarchive(archiveData: testData)
|
||||
_ = try? XZArchive.unarchive(archive: testData)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user