                 for comparison in Comparison.allCases {
                     switch comparison {
                     case .resizedImageWidthToHeightRatioAssertion:
-                        let comparisonValues = ComparisonValues(scaleToFillValue: isHeightLarger ? startingWidthToHeightRatio : resizeWidthToHeightRatio,
+                        let comparisonValues = ComparisonValues(scaleToFillValue: startingImageToResizeSizeScaling.value(smaller: resizeWidthToHeightRatio,
+                                                                                                                         largerHeight: startingWidthToHeightRatio),
                                                                 aspectFitValue: startingWidthToHeightRatio,
                                                                 aspectFillValue: startingWidthToHeightRatio)
                         performTest(value: resizedImageWidthToHeightRatio,

        let asserStringComponents: ComparisonValues<([String]) -> [String]>
    }
    
    func testScaledImage() {
        var assertStringComponents: [String] = []
        let startingSize = CGSize(width: 100, height: 100)
        assertStringComponents.append("startingSize: \(startingSize)")
        
        for isHeightLarger in [true, false] {
            var assertStringComponents = assertStringComponents
            let startingSize = CGSize(width: 100, height: 100)
            assertStringComponents.append("isHeightLarger: \(isHeightLarger)")
            for resizeType in RIRImageResizeType.allCases {
                var assertStringComponents = assertStringComponents
                assertStringComponents.append("resizeType".xctAssertComponentFormatted(with: resizeType))

                assertStringComponents.append("startingWidthToHeightRatio: \(startingWidthToHeightRatio)")
                
                let resizeWidthRatio: CGFloat = 1.0
                let resizeHeightRatio: CGFloat = startingImageToResizeSizeScaling.value(smaller: 0.5, largerHeight: 1.5)
                assertStringComponents.append("resizeWidthRatio: \(resizeWidthRatio)")
                assertStringComponents.append("resizeHeightRatio: \(resizeHeightRatio)")
                
