@@ -593,28 +593,28 @@ public let flatMapTests = [
593
593
FlatMapTest (
594
594
expected: [ 101 ] ,
595
595
sequence: [ 1 ] ,
596
- transform: { ( x: Int ) -> [ Int32 ] in [ x + 100 ] } ) ,
596
+ transform: { ( x: Int ) -> [ Int32 ] in [ Int32 ( x + 100 ) ] } ) ,
597
597
FlatMapTest (
598
598
expected: [ 101 , 102 ] ,
599
599
sequence: [ 1 , 2 ] ,
600
- transform: { ( x: Int ) -> [ Int32 ] in [ x + 100 ] } ) ,
600
+ transform: { ( x: Int ) -> [ Int32 ] in [ Int32 ( x + 100 ) ] } ) ,
601
601
FlatMapTest (
602
602
expected: [ 101 , 102 , 103 ] ,
603
603
sequence: [ 1 , 2 , 3 ] ,
604
- transform: { ( x: Int ) -> [ Int32 ] in [ x + 100 ] } ) ,
604
+ transform: { ( x: Int ) -> [ Int32 ] in [ Int32 ( x + 100 ) ] } ) ,
605
605
606
606
FlatMapTest (
607
607
expected: [ 101 , 201 ] ,
608
608
sequence: [ 1 ] ,
609
- transform: { ( x: Int ) -> [ Int32 ] in [ x + 100 , x + 200 ] } ) ,
609
+ transform: { ( x: Int ) -> [ Int32 ] in [ Int32 ( x + 100 ) , Int32 ( x + 200 ) ] } ) ,
610
610
FlatMapTest (
611
611
expected: [ 101 , 201 , 102 , 202 ] ,
612
612
sequence: [ 1 , 2 ] ,
613
- transform: { ( x: Int ) -> [ Int32 ] in [ x + 100 , x + 200 ] } ) ,
613
+ transform: { ( x: Int ) -> [ Int32 ] in [ Int32 ( x + 100 ) , Int32 ( x + 200 ) ] } ) ,
614
614
FlatMapTest (
615
615
expected: [ 101 , 201 , 102 , 202 , 103 , 203 ] ,
616
616
sequence: [ 1 , 2 , 3 ] ,
617
- transform: { ( x: Int ) -> [ Int32 ] in [ x + 100 , x + 200 ] } ) ,
617
+ transform: { ( x: Int ) -> [ Int32 ] in [ Int32 ( x + 100 ) , Int32 ( x + 200 ) ] } ) ,
618
618
619
619
FlatMapTest (
620
620
expected: [ 1_071 , 1_075 ] ,
@@ -790,10 +790,10 @@ public let mapTests = [
790
790
[ ] , [ ] ,
791
791
{ _ -> Int32 in expectUnreachable ( ) ; return 0xffff } ) ,
792
792
793
- MapTest ( [ 101 ] , [ 1 ] , { ( x: Int ) -> Int32 in x + 100 } ) ,
794
- MapTest ( [ 101 , 102 ] , [ 1 , 2 ] , { ( x: Int ) -> Int32 in x + 100 } ) ,
795
- MapTest ( [ 101 , 102 , 103 ] , [ 1 , 2 , 3 ] , { ( x: Int ) -> Int32 in x + 100 } ) ,
796
- MapTest ( Array ( 101 ..< 200 ) , Array ( 1 ..< 100 ) , { ( x: Int ) -> Int32 in x + 100 } ) ,
793
+ MapTest ( [ 101 ] , [ 1 ] , { ( x: Int ) -> Int32 in Int32 ( x + 100 ) } ) ,
794
+ MapTest ( [ 101 , 102 ] , [ 1 , 2 ] , { ( x: Int ) -> Int32 in Int32 ( x + 100 ) } ) ,
795
+ MapTest ( [ 101 , 102 , 103 ] , [ 1 , 2 , 3 ] , { ( x: Int ) -> Int32 in Int32 ( x + 100 ) } ) ,
796
+ MapTest ( Array ( 101 ..< 200 ) , Array ( 1 ..< 100 ) , { ( x: Int ) -> Int32 in Int32 ( x + 100 ) } ) ,
797
797
]
798
798
799
799
public let minMaxTests = [
0 commit comments