                                                                extraAsserStringComponents: extraAsserStringComponentsComparisonValues(comparisonValues: comparisonValues)))
                     
                 case .resizedImageSizeToParametersNewSize:
-                    let comparisonValues = ComparisonValues(scaleToFillValue: testCase.scaling.value(smaller: resizeParameters.newSize,
-                                                                                                     largerHeight: resizeParameters.newSize.scaled(scaleHeight: 1 / resizeHeightRatio)),
-                                                            aspectFitValue: testCase.scaling.value(smaller: resizeParameters.newSize.scaled(scaleWidth: resizeWidthToHeightRatio), largerHeight: resizeParameters.newSize.scaled(scaleHeight: 1 / resizeHeightRatio)),
+                    let comparisonValues = ComparisonValues(scaleToFillValue: testCase.scaling.height.value(smaller: resizeParameters.newSize,
+                                                                                                            normalAndLarger: resizeParameters.newSize.scaled(scaleHeight: 1 / resizeHeightRatio)),
+                                                            aspectFitValue: testCase.scaling.height.value(smaller: resizeParameters.newSize.scaled(scaleWidth: resizeWidthToHeightRatio),
+                                                                                                          normalAndLarger: resizeParameters.newSize.scaled(scaleHeight: 1 / resizeHeightRatio)),
                                                             aspectFillValue: resizeParameters.newSize.scaled(scaleHeight: 1 / resizeHeightRatio))
                     performTest(value: resizedImage.size,
                                 comparisonData: ComparisonData(comparisonValues: comparisonValues,

            var assertStringComponents = assertStringComponents
            assertStringComponents.append("startingImageToResizeSizeScaling".xctAssertComponentFormatted(with: testCase.scaling))
            assertStringComponents.append("resizeType".xctAssertComponentFormatted(with: testCase.resizeType))
            guard let startingImage = UIImage(size: startingSize) else {
                XCTFail("Failed to create image with size \(startingSize)".xctAssertFormatted)
                return

    }
    
    func testScaledImage() {
        func resizeRatioValue(height: StartingImageToResizeSizeScalingDimensionLength) -> CGFloat {
            return height.value(smaller: 0.5, normal: 1.0, larger: 1.5)
        }
        
        var assertStringComponents: [String] = []
        let startingSize = CGSize(width: 100, height: 100)
        assertStringComponents.append("startingSize: \(startingSize)")
