         x = 1234 == view1[.Width]
         XCTAssertTrue(x.isKindOfClass(NSLayoutConstraint))
         XCTAssertTrue(view1.isEqual(x.firstItem))
-        XCTAssertEqual(x.firstAttribute, .Width)
-        XCTAssertEqual(x.relation, .Equal)
+        XCTAssertEqual(x.firstAttribute, NSLayoutAttribute.Width)
+        XCTAssertEqual(x.relation, NSLayoutRelation.Equal)
         XCTAssertNil(x.secondItem)
-        XCTAssertEqual(x.secondAttribute, .NotAnAttribute)
+        XCTAssertEqual(x.secondAttribute, NSLayoutAttribute.NotAnAttribute)
         XCTAssertEqual(x.multiplier, CGFloat(1))
         XCTAssertEqual(x.constant, CGFloat(1234))
     }

        x = 1234 >= view1[.Width]
        XCTAssertTrue(x.isKindOfClass(NSLayoutConstraint))
        XCTAssertTrue(view1.isEqual(x.firstItem))
        XCTAssertEqual(x.firstAttribute, .Width)
        XCTAssertEqual(x.relation, .LessThanOrEqual)
        XCTAssertNil(x.secondItem)
        XCTAssertEqual(x.secondAttribute, .NotAnAttribute)
        XCTAssertEqual(x.multiplier, CGFloat(1))
        XCTAssertEqual(x.constant, CGFloat(1234))
    }

        x = view1[.Width] <= 1234
        XCTAssertTrue(x.isKindOfClass(NSLayoutConstraint))
        XCTAssertTrue(view1.isEqual(x.firstItem))
        XCTAssertEqual(x.firstAttribute, NSLayoutAttribute.Width)
        XCTAssertEqual(x.relation, NSLayoutRelation.LessThanOrEqual)
        XCTAssertNil(x.secondItem)
        XCTAssertEqual(x.secondAttribute, NSLayoutAttribute.NotAnAttribute)
        XCTAssertEqual(x.multiplier, CGFloat(1))
        XCTAssertEqual(x.constant, CGFloat(1234))
    }
