mirror of
https://github.com/averello/AppearanceKit.git
synced 2026-03-03 18:24:06 +01:00
35 lines
986 B
Swift
35 lines
986 B
Swift
import UIKit
|
|
import XCTest
|
|
import AppearanceKit
|
|
import ContentKit
|
|
|
|
class Tests: XCTestCase {
|
|
|
|
override func setUp() {
|
|
super.setUp()
|
|
// Put setup code here. This method is called before the invocation of each test method in the class.
|
|
}
|
|
|
|
override func tearDown() {
|
|
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
|
super.tearDown()
|
|
}
|
|
|
|
func testExample() {
|
|
// This is an example of a functional test case.
|
|
var att: AttributedText = "hello"
|
|
XCTAssert(att.content == "hello")
|
|
att.set(attribute: AttributedText.Attribute.backgroundColor(RedColor()))
|
|
print("attributedText: \(att)")
|
|
XCTAssert(true, "Pass")
|
|
}
|
|
|
|
func testPerformanceExample() {
|
|
// This is an example of a performance test case.
|
|
self.measure() {
|
|
// Put the code you want to measure the time of here.
|
|
}
|
|
}
|
|
|
|
}
|