 import XCTest
-import Constraid
+@testable import Constraid
 
 class ExpandFromSizeTests: XCTestCase {
     func testExpandFromWidthOf() {

        let viewTwo = View()

        viewOne.addSubview(viewTwo)
        let constraints = Constraid.expand(viewOne, fromHeightOf: viewTwo, times: 2.0, offsetBy: 10.0, priority: Constraid.LayoutPriority(rawValue: 500))
        constraints.activate()
        let constraint = viewOne.constraints.first!

        XCTAssertEqual(constraints, viewOne.constraints)

        let viewTwo = View()

        viewOne.addSubview(viewTwo)
        let proxy = viewOne.constraid.expand(fromWidthOf: viewTwo, times: 2.0, offsetBy: 10.0, priority: Constraid.LayoutPriority(rawValue: 500))
        let constraints = proxy.constraintCollection
        proxy.activate()
        let constraint = viewOne.constraints.first!

        XCTAssertEqual(constraints, viewOne.constraints)
