We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a34b2 commit 04b779dCopy full SHA for 04b779d
1 file changed
Tests/Tests.swift
@@ -723,6 +723,14 @@ class DeviceKitTests: XCTestCase {
723
XCTAssertEqual(Device.mapToDevice(identifier: "AppleTV6,2").description, "Apple TV 4K")
724
}
725
726
+ func testAppleWatchSE3Mapping() {
727
+ // Test Apple Watch SE 3rd generation identifier mapping
728
+ XCTAssertEqual(Device.mapToDevice(identifier: "Watch7,13"), .appleWatchSE3_40mm)
729
+ XCTAssertEqual(Device.mapToDevice(identifier: "Watch7,14"), .appleWatchSE3_40mm)
730
+ XCTAssertEqual(Device.mapToDevice(identifier: "Watch7,15"), .appleWatchSE3_44mm)
731
+ XCTAssertEqual(Device.mapToDevice(identifier: "Watch7,16"), .appleWatchSE3_44mm)
732
+ }
733
+
734
func testSafeDescription() {
735
for device in Device.allRealDevices {
736
XCTAssertEqual(device.description, device.safeDescription)
0 commit comments