 import XCTest
 
 class FSCalendarSwiftExampleUITests: XCTestCase {
-	
-	// MARK: - Setup / Tear Down
-	
+    
+    // MARK: - Setup / Tear Down
+    
     override func setUp() {
         super.setUp()
-		
+        
         continueAfterFailure = false
         XCUIApplication().launch()
     }

        Thread.sleep(forTimeInterval: 1.5)
        application.buttons.element(boundBy: 0).tap()
    }

    func testInterfaceBuilder() {
        let application = XCUIApplication()
        application.tables.element(boundBy: 0).staticTexts["Interface Builder"].tap()

        let cellStart: CGFloat = (FSCalendarStandardHeaderHeight+FSCalendarStandardWeekdayHeight)/calendarHeight
        let rowHeight: CGFloat = (1.0-cellStart)/6.0
        let columnWidth: CGFloat = 1.0/7
        
        let nextVector = CGVector(dx: columnWidth.multiplied(by: 5.5), dy: cellStart+rowHeight.multiplied(by: 5.5))
        let prevVector = CGVector(dx: columnWidth.multiplied(by: 1.5), dy: cellStart+rowHeight.multiplied(by: 0.5))
        calendar.coordinate(withNormalizedOffset: nextVector).tap()
