     }
     
     func testSetCenterY() {
-        let width: CGFloat = 10.0
-        let height: CGFloat = 20.0
         let newCenterY: CGFloat = 50.0
-        
-        let view = UIView(frame: CGRectMake(0.0, 0.0, width, height))
         view.centerY = newCenterY
         
         XCTAssertEqual(view.centerY, newCenterY, "centerY is not as expected")

    }
    
    func testSetTop() {
        let width: CGFloat = 10.0
        let height: CGFloat = 20.0
        let newTop: CGFloat = 50.0
        
        let view = UIView(frame: CGRectMake(0.0, 0.0, width, height))
        view.top = newTop
        
        XCTAssertEqual(view.top, newTop, "top is not as expected")

    }
    
    func testSetBottom() {
        let newBottom: CGFloat = 50.0
        view.bottom = newBottom
        
        XCTAssertEqual(view.bottom, newBottom, "bottom is not as expected")
