File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -723,6 +723,14 @@ class DeviceKitTests: XCTestCase {
723723 XCTAssertEqual ( Device . mapToDevice ( identifier: " AppleTV6,2 " ) . description, " Apple TV 4K " )
724724 }
725725
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+
726734 func testSafeDescription( ) {
727735 for device in Device . allRealDevices {
728736 XCTAssertEqual ( device. description, device. safeDescription)
You can’t perform that action at this time.
0 commit comments