@@ -332,9 +332,59 @@ class IdentifierTests: XCTestCase {
332332
333333 // MARK: - iPad
334334
335+
336+ func testDisplayStringiPad16v6( ) {
337+ XCTAssert ( Identifier ( " iPad16,6 " ) . description == " iPad Pro M4 (13 inch, Wi-Fi+5G) " , " iPad16,6 is failing to produce a common device model string " )
338+ }
339+
340+ func testDisplayStringiPad16v5( ) {
341+ XCTAssert ( Identifier ( " iPad16,5 " ) . description == " iPad Pro M4 (13 inch, Wi-Fi) " , " iPad16,5 is failing to produce a common device model string " )
342+ }
343+
344+ func testDisplayStringiPad16v4( ) {
345+ XCTAssert ( Identifier ( " iPad16,4 " ) . description == " iPad Pro M4 (11 inch, Wi-Fi+5G) " , " iPad16,4 is failing to produce a common device model string " )
346+ }
347+
348+ func testDisplayStringiPad16v3( ) {
349+ XCTAssert ( Identifier ( " iPad16,3 " ) . description == " iPad Pro M4 (11 inch, Wi-Fi) " , " iPad16,3 is failing to produce a common device model string " )
350+ }
351+
352+ func testDisplayStringiPad14v11( ) {
353+ XCTAssert ( Identifier ( " iPad14,11 " ) . description == " iPad Air M2 (13 inch, Wi-Fi+5G) " , " iPad14,11 is failing to produce a common device model string " )
354+ }
355+
356+ func testDisplayStringiPad14v10( ) {
357+ XCTAssert ( Identifier ( " iPad14,10 " ) . description == " iPad Air M2 (13 inch, Wi-Fi) " , " iPad14,10 is failing to produce a common device model string " )
358+ }
359+
360+ func testDisplayStringiPad14v9( ) {
361+ XCTAssert ( Identifier ( " iPad14,9 " ) . description == " iPad Air M2 (11 inch, Wi-Fi+5G) " , " iPad14,9 is failing to produce a common device model string " )
362+ }
363+
364+ func testDisplayStringiPad14v8( ) {
365+ XCTAssert ( Identifier ( " iPad14,8 " ) . description == " iPad Air M2 (11 inch, Wi-Fi) " , " iPad14,8 is failing to produce a common device model string " )
366+ }
367+
368+ func testDisplayStringiPad14v6( ) {
369+ XCTAssert ( Identifier ( " iPad14,6 " ) . description == " 6th Gen iPad Pro (12.9 inch, Wi-Fi+5G) " , " iPad14,6 is failing to produce a common device model string " )
370+ }
371+
372+ func testDisplayStringiPad14v5( ) {
373+ XCTAssert ( Identifier ( " iPad14,5 " ) . description == " 6th Gen iPad Pro (12.9 inch, Wi-Fi) " , " iPad14,5 is failing to produce a common device model string " )
374+ }
375+
376+ func testDisplayStringiPad14v4( ) {
377+ XCTAssert ( Identifier ( " iPad14,4 " ) . description == " 4th Gen iPad Pro (11 inch, Wi-Fi+5G) " , " iPad14,4 is failing to produce a common device model string " )
378+ }
379+
380+ func testDisplayStringiPad14v3( ) {
381+ XCTAssert ( Identifier ( " iPad14,3 " ) . description == " 4th Gen iPad Pro (11 inch, Wi-Fi) " , " iPad14,3 is failing to produce a common device model string " )
382+ }
383+
335384 func testDisplayStringiPad14v2( ) {
336385 XCTAssert ( Identifier ( " iPad14,2 " ) . description == " 6th Gen iPad mini (8.3 inch, Wi-Fi+5G) " , " iPad14,2 is failing to produce a common device model string " )
337386 }
387+
338388 func testDisplayStringiPad14v1( ) {
339389 XCTAssert ( Identifier ( " iPad14,1 " ) . description == " 6th Gen iPad mini (8.3 inch, Wi-Fi) " , " iPad14,1 is failing to produce a common device model string " )
340390 }
0 commit comments