     func testHorizontal() {
         var layout = [l1, l2, l3].layoutLinearly(
             orientation: .horizontal,
-            direction: .normal,
             spacing: spacing)
         layout.startLayout(
             with: layoutRect)

                width: l3.width,
                height: l3.height))
    }

    func testVerticalReversed() {
        var layout = [l1, l2, l3].layoutLinearly(
            orientation: .vertical,
            direction: .reversed,
            spacing: spacing)
        layout.startLayout(with: layoutRect)
        
        XCTAssertEqual(
            l3.frame,
            CGRect(
                x: layoutRect.minX
                    + l3.layoutMargins.left,
                y: layoutRect.minY
                    + l3.layoutMargins.top,
                width: l3.width,
                height: l3.height))
        XCTAssertEqual(
            l2.frame,
            CGRect(
                x: layoutRect.minX
                    + l2.layoutMargins.left,
                y: layoutRect.minY
                    + l3.width
                    + l3.verticalMargins
                    + spacing
                    + l2.layoutMargins.top,
                width: l2.width,
                height: l2.height))
        XCTAssertEqual(
            l1.frame,
            CGRect(
                x: layoutRect.minX
                    + l1.layoutMargins.left,
                y: layoutRect.minY
                    + l3.height
                    + l3.verticalMargins
                    + l2.height
                    + l2.verticalMargins
                    + l1.layoutMargins.top
                    + spacing * 2,
                width: l1.width,
                height: l1.height))
    }
    
    func testVerticalMatchParent() {
        l1 = TestLayoutable(sideLength: 30, layoutModes: BayaLayoutOptions.Modes(width: .matchParent, height: .matchParent))

                height: maxHeight
                    - l3.verticalMargins))
    }

    func testVertical() {
        var layout = [l1, l2, l3].layoutLinearly(
            orientation: .vertical,
            spacing: spacing)
        layout.startLayout(with: layoutRect)

