20 lines
516 B
Swift
20 lines
516 B
Swift
import MapLibre
|
|
import XCTest
|
|
|
|
class CustomAnnotationView: MLNAnnotationView {
|
|
override init(reuseIdentifier: String?) {
|
|
super.init(reuseIdentifier: reuseIdentifier)
|
|
}
|
|
|
|
required init?(coder aDecoder: NSCoder) {
|
|
super.init(coder: aDecoder)
|
|
}
|
|
}
|
|
|
|
class MLNAnnotationViewIntegrationTests: XCTestCase {
|
|
func testCreatingCustomAnnotationView() {
|
|
let customAnnotationView = CustomAnnotationView(reuseIdentifier: "resuse-id")
|
|
XCTAssertNotNil(customAnnotationView)
|
|
}
|
|
}
|