                                                                    extraAsserStringComponents: extraAsserStringComponentsComparisonValues(comparisonValues: comparisonValues)))
                         
                     case .resizedImageSizeToStartingImageSize:
-                        let comparisonValues = ComparisonValues(scaleToFillValue: isHeightLarger ? startingImage.size : startingImage.size.scaled(scaleHeight: resizeHeightRatio),
-                                                                aspectFitValue: isHeightLarger ? startingImage.size : startingImage.size.scaled(scaleWidth: resizeHeightRatio, scaleHeight: resizeHeightRatio),
+                        let comparisonValues = ComparisonValues(scaleToFillValue: startingImageToResizeSizeScaling.value(smaller: startingImage.size.scaled(scaleHeight: resizeHeightRatio),
+                                                                                                                         largerHeight: startingImage.size),
+                                                                aspectFitValue: startingImageToResizeSizeScaling.value(smaller: startingImage.size.scaled(scaleWidth: resizeHeightRatio, scaleHeight: resizeHeightRatio),
+                                                                                                                       largerHeight: startingImage.size),
                                                                 aspectFillValue: startingImage.size)
 
                         performTest(value: resizedImage.size,

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

        let asserStringComponents: ComparisonValues<([String]) -> [String]>
    }
    
    fileprivate enum StartingImageToResizeSizeScaling: CaseIterable {
        case smaller, largerHeight//, largerWidth//, largerSize
    }
    
    func testScaledImage() {
        var assertStringComponents: [String] = []
        let startingSize = CGSize(width: 100, height: 100)
        assertStringComponents.append("startingSize: \(startingSize)")
        
        for startingImageToResizeSizeScaling in StartingImageToResizeSizeScaling.allCases {
            var assertStringComponents = assertStringComponents
            assertStringComponents.append("startingImageToResizeSizeScaling".xctAssertComponentFormatted(with: startingImageToResizeSizeScaling))
            for resizeType in RIRImageResizeType.allCases {
                var assertStringComponents = assertStringComponents
                assertStringComponents.append("resizeType".xctAssertComponentFormatted(with: resizeType))
