@@ -17,7 +17,7 @@ final class TestThrottle: XCTestCase {
17
17
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
18
18
validate {
19
19
" abcdefghijk| "
20
- $0. inputs [ 0 ] . throttle ( for: . steps( 0 ) , clock: $0. clock)
20
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 0 ) , clock: $0. clock)
21
21
" abcdefghijk| "
22
22
}
23
23
}
@@ -26,7 +26,7 @@ final class TestThrottle: XCTestCase {
26
26
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
27
27
validate {
28
28
" abcdefghijk| "
29
- $0. inputs [ 0 ] . throttle ( for: . steps( 0 ) , clock: $0. clock, latest: false )
29
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 0 ) , clock: $0. clock, latest: false )
30
30
" abcdefghijk| "
31
31
}
32
32
}
@@ -35,7 +35,7 @@ final class TestThrottle: XCTestCase {
35
35
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
36
36
validate {
37
37
" abcdefghijk| "
38
- $0. inputs [ 0 ] . throttle ( for: . steps( 1 ) , clock: $0. clock)
38
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 1 ) , clock: $0. clock)
39
39
" abcdefghijk| "
40
40
}
41
41
}
@@ -44,7 +44,7 @@ final class TestThrottle: XCTestCase {
44
44
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
45
45
validate {
46
46
" abcdefghijk| "
47
- $0. inputs [ 0 ] . throttle ( for: . steps( 1 ) , clock: $0. clock, latest: false )
47
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 1 ) , clock: $0. clock, latest: false )
48
48
" abcdefghijk| "
49
49
}
50
50
}
@@ -53,7 +53,7 @@ final class TestThrottle: XCTestCase {
53
53
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
54
54
validate {
55
55
" abcdefghijk| "
56
- $0. inputs [ 0 ] . throttle ( for: . steps( 2 ) , clock: $0. clock)
56
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 2 ) , clock: $0. clock)
57
57
" a-c-e-g-i-k| "
58
58
}
59
59
}
@@ -62,7 +62,7 @@ final class TestThrottle: XCTestCase {
62
62
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
63
63
validate {
64
64
" abcdefghijk| "
65
- $0. inputs [ 0 ] . throttle ( for: . steps( 2 ) , clock: $0. clock, latest: false )
65
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 2 ) , clock: $0. clock, latest: false )
66
66
" a-b-d-f-h-j| "
67
67
}
68
68
}
@@ -71,7 +71,7 @@ final class TestThrottle: XCTestCase {
71
71
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
72
72
validate {
73
73
" abcdefghijk| "
74
- $0. inputs [ 0 ] . throttle ( for: . steps( 3 ) , clock: $0. clock)
74
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 3 ) , clock: $0. clock)
75
75
" a--d--g--j--[k|] "
76
76
}
77
77
}
@@ -80,7 +80,7 @@ final class TestThrottle: XCTestCase {
80
80
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
81
81
validate {
82
82
" abcdefghijk| "
83
- $0. inputs [ 0 ] . throttle ( for: . steps( 3 ) , clock: $0. clock, latest: false )
83
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 3 ) , clock: $0. clock, latest: false )
84
84
" a--b--e--h--[k|] "
85
85
}
86
86
}
@@ -89,7 +89,7 @@ final class TestThrottle: XCTestCase {
89
89
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
90
90
validate {
91
91
" abcdef^hijk| "
92
- $0. inputs [ 0 ] . throttle ( for: . steps( 2 ) , clock: $0. clock)
92
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 2 ) , clock: $0. clock)
93
93
" a-c-e-^ "
94
94
}
95
95
}
@@ -98,7 +98,7 @@ final class TestThrottle: XCTestCase {
98
98
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
99
99
validate {
100
100
" abcdef^hijk| "
101
- $0. inputs [ 0 ] . throttle ( for: . steps( 2 ) , clock: $0. clock, latest: false )
101
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 2 ) , clock: $0. clock, latest: false )
102
102
" a-b-d-^ "
103
103
}
104
104
}
@@ -107,7 +107,7 @@ final class TestThrottle: XCTestCase {
107
107
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
108
108
validate {
109
109
" -a-b-c-d-e-f-g-h-i-j-k-| "
110
- $0. inputs [ 0 ] . throttle ( for: . steps( 1 ) , clock: $0. clock)
110
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 1 ) , clock: $0. clock)
111
111
" -a-b-c-d-e-f-g-h-i-j-k-| "
112
112
}
113
113
}
@@ -116,7 +116,7 @@ final class TestThrottle: XCTestCase {
116
116
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
117
117
validate {
118
118
" -a-b-c-d-e-f-g-h-i-j-k-| "
119
- $0. inputs [ 0 ] . throttle ( for: . steps( 2 ) , clock: $0. clock)
119
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 2 ) , clock: $0. clock)
120
120
" -a-b-c-d-e-f-g-h-i-j-k-| "
121
121
}
122
122
}
@@ -125,7 +125,7 @@ final class TestThrottle: XCTestCase {
125
125
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
126
126
validate {
127
127
" --a--b--c--d--e--f--g| "
128
- $0. inputs [ 0 ] . throttle ( for: . steps( 2 ) , clock: $0. clock)
128
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 2 ) , clock: $0. clock)
129
129
" --a--b--c--d--e--f--g| "
130
130
}
131
131
}
@@ -134,7 +134,7 @@ final class TestThrottle: XCTestCase {
134
134
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
135
135
validate {
136
136
" -a-b-c-d-e-f-g-h-i-j-k-| "
137
- $0. inputs [ 0 ] . throttle ( for: . steps( 3 ) , clock: $0. clock)
137
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 3 ) , clock: $0. clock)
138
138
" -a---c---e---g---i---k-| "
139
139
}
140
140
}
@@ -143,7 +143,7 @@ final class TestThrottle: XCTestCase {
143
143
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
144
144
validate {
145
145
" abcdefghijkl| "
146
- $0. inputs [ 0 ] . throttle ( for: . steps( 3 ) , clock: $0. clock, latest: false )
146
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 3 ) , clock: $0. clock, latest: false )
147
147
" a--b--e--h--[k|] "
148
148
}
149
149
}
@@ -152,7 +152,7 @@ final class TestThrottle: XCTestCase {
152
152
guard #available( macOS 13 . 0 , iOS 16 . 0 , watchOS 9 . 0 , tvOS 16 . 0 , * ) else { throw XCTSkip ( " Skipped due to Clock/Instant/Duration availability " ) }
153
153
validate {
154
154
" abcdefghijkl| "
155
- $0. inputs [ 0 ] . throttle ( for: . steps( 3 ) , clock: $0. clock, latest: true )
155
+ $0. inputs [ 0 ] . _throttle ( for: . steps( 3 ) , clock: $0. clock, latest: true )
156
156
" a--d--g--j--[l|] "
157
157
}
158
158
}
0 commit comments