     }
 
     func testMatchParentWidth() {
-        var layout = l.layoutMatchingParent(width: true, height: false)
+        var layout = l.layoutMatchingParentWidth()
         layout.startLayout(with: layoutRect)
 
         XCTAssertEqual(

            "frame not matching")
    }

    func testMeasureMatchParent() {
        var layout = l.layoutMatchingParent(width: true, height: true)
        let fit = layout.sizeThatFits(layoutRect.size)
        
        XCTAssertEqual(
            fit,
            layoutRect.size,
            "size not matching")
    }

    func testMeasureMatchParentWidth() {
        var layout = l.layoutMatchingParent(width: true, height: false)
        let fit = layout.sizeThatFits(layoutRect.size)
        
        XCTAssertEqual(
            fit,
            CGSize(
                width: layoutRect.width,
                height: TestLayoutable.sideLength + l.verticalMargins),
            "size not matching")
    }

    func testMeasureMatchParentHeight() {
        var layout = l.layoutMatchingParent(width: false, height: true)
        let fit = layout.sizeThatFits(layoutRect.size)
        
        XCTAssertEqual(
            fit,
            CGSize(
                width: TestLayoutable.sideLength + l.horizontalMargins,
                height: layoutRect.height),
            "size not matching")
    }
}

    }

    func testMatchParentHeight() {
        var layout = l.layoutMatchingParentHeight()
        layout.startLayout(with: layoutRect)
        
        XCTAssertEqual(
