You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
794 B
28 lines
794 B
6 years ago
|
// Copyright © 2015 Abhishek Banthia
|
||
|
|
||
4 years ago
|
import Foundation
|
||
|
|
||
6 years ago
|
@testable import Clocker
|
||
6 years ago
|
import XCTest
|
||
6 years ago
|
|
||
4 years ago
|
class TimezoneDataEqualityTests: XCTestCase {
|
||
6 years ago
|
override func setUp() {
|
||
|
// Put setup code here. This method is called before the invocation of each test method in the class.
|
||
|
}
|
||
|
|
||
|
func testExample() {
|
||
|
// This is an example of a functional test case.
|
||
|
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
||
|
}
|
||
4 years ago
|
|
||
|
func testEqualityWhenTimezones() {
|
||
|
let timezone1 = TimezoneData()
|
||
|
timezone1.setLabel(CLEmptyString)
|
||
|
timezone1.timezoneID = metaInfo.0.name
|
||
|
timezone1.formattedAddress = TimeZone.system.identifer
|
||
|
timezone1.selectionType = .timezone
|
||
|
|
||
|
XCTAssert(timezone1 != nil)
|
||
|
}
|
||
6 years ago
|
}
|