From e8d8da34a9fac01be3693c3ef5cdf2be35aa45aa Mon Sep 17 00:00:00 2001 From: kean Date: Sat, 18 Feb 2023 23:33:01 -0500 Subject: [PATCH] Fix tests --- Tests/NukeTests/ImageProcessorsTests/ResizeTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/NukeTests/ImageProcessorsTests/ResizeTests.swift b/Tests/NukeTests/ImageProcessorsTests/ResizeTests.swift index de77eb7a2..7975e7678 100644 --- a/Tests/NukeTests/ImageProcessorsTests/ResizeTests.swift +++ b/Tests/NukeTests/ImageProcessorsTests/ResizeTests.swift @@ -156,7 +156,7 @@ class ImageProcessorsResizeTests: XCTestCase { XCTAssertEqual(output.sizeInPixels, CGSize(width: 240, height: 320)) XCTAssertEqual(output.imageOrientation, .right) // Then the image is resized according to orientation - XCTAssertEqual(output.size, CGSize(width: 320 / Screen.scale, height: 240 / Screen.scale)) + XCTAssertEqual(output.size, CGSize(width: 320, height: 240)) } @MainActor @@ -175,7 +175,7 @@ class ImageProcessorsResizeTests: XCTestCase { XCTAssertEqual(output.sizeInPixels, CGSize(width: 80, height: 320)) XCTAssertEqual(output.imageOrientation, .right) // Then - XCTAssertEqual(output.size, CGSize(width: 320 / Screen.scale, height: 80 / Screen.scale)) + XCTAssertEqual(output.size, CGSize(width: 320, height: 80)) } #endif