 @testable import CountiesModel
 
 final class UIImageResizingTests: XCTestCase {
+    private static let imageScale: CGFloat = 2
+    
     private var sourceImage: UIImage!
     private var resizedImage: UIImage!
     

        givenSourceImage(ofSize: CGSize(width: 300, height: 200))
        whenTheSourceImage(isResizedTo: CGSize(width: 200, height: 100))
        XCTAssertEqual(resizedImage.size.width, 200)
        XCTAssertEqual(resizedImage.size.height, 133.333, accuracy: 0.001)
    }
    
    func testItResizesALandscapeImageToAPortraitSizeAsExpected() {

        givenSourceImage(ofSize: CGSize(width: 200, height: 300))
        whenTheSourceImage(isResizedTo: CGSize(width: 175, height: 100))
        XCTAssertEqual(resizedImage.size.width, 175)
        XCTAssertEqual(resizedImage.size.height, 262.5)
    }
    
    func testItResizesAPortraitImageToAPortraitSizeAsExpected() {
