Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Feb 19, 2023
1 parent da5ca54 commit e8d8da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/NukeTests/ImageProcessorsTests/ResizeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit e8d8da3

Please sign in to comment.