             .layoutAsEqualSegments(
                 orientation: .horizontal,
                 gutter: spacing)
-
         layout.startLayout(with: layoutRect)
         let availableSideLength = (l3.sideLength + l3.horizontalMargins) // Largest element as base.
 

            height: l3.sideLength))
    }
    
    func testHorizontalSmallEnforcedFrame() {
        var layout = [l1, l2, l3]
            .layoutAsEqualSegments(

            orientation: .vertical,
            gutter: spacing)

        let maxHeight = max(
            l1.sideLength + l1.verticalMargins,
            l2.sideLength + l2.verticalMargins,
            l3.sideLength + l3.verticalMargins)
        let maxWidth = max(
            l1.sideLength + l1.horizontalMargins,
            l2.sideLength + l2.horizontalMargins,
            l3.sideLength + l3.horizontalMargins)
        
        let targetSize = CGSize(
            width: maxWidth,
            height: maxHeight * 3 + spacing * 2)
        let size1 = layout.sizeThatFits(CGSize(width: 400, height: 300))
        let size2 = layout.sizeThatFits(CGSize(width: 10, height: 30))

