@@ -42,6 +42,10 @@ class FieldsV2Tests: XCTestCase {
4242 )
4343 }
4444
45+ func testTwitterTweetFieldsV2All( ) throws {
46+ XCTAssertEqual ( TwitterTweetFieldsV2 . all. count, 20 )
47+ }
48+
4549 func testTwitterUserFieldsV2( ) throws {
4650 let allCases : [ TwitterUserFieldsV2 ] = [
4751 . createdAt,
@@ -68,6 +72,10 @@ class FieldsV2Tests: XCTestCase {
6872 )
6973 }
7074
75+ func testTwitterUserFieldsV2All( ) throws {
76+ XCTAssertEqual ( TwitterUserFieldsV2 . all. count, 14 )
77+ }
78+
7179 func testTwitterPlaceFieldsV2( ) throws {
7280 let allCases : [ TwitterPlaceFieldsV2 ] = [
7381 . containedWithin,
@@ -88,6 +96,10 @@ class FieldsV2Tests: XCTestCase {
8896 )
8997 }
9098
99+ func testTwitterPlaceFieldsV2All( ) throws {
100+ XCTAssertEqual ( TwitterPlaceFieldsV2 . all. count, 8 )
101+ }
102+
91103 func testTwitterPollFieldsV2( ) throws {
92104 let allCases : [ TwitterPollFieldsV2 ] = [
93105 . durationMinutes,
@@ -104,6 +116,9 @@ class FieldsV2Tests: XCTestCase {
104116 " duration_minutes,end_datetime,id,options,voting_status,~~ "
105117 )
106118 }
119+ func testTwitterPollFieldsV2All( ) throws {
120+ XCTAssertEqual ( TwitterPollFieldsV2 . all. count, 5 )
121+ }
107122
108123 func testTwitterMediaFieldsV2( ) throws {
109124 let allCases : [ TwitterMediaFieldsV2 ] = [
@@ -133,6 +148,10 @@ class FieldsV2Tests: XCTestCase {
133148 )
134149 }
135150
151+ func testTwitterMediaFieldsV2All( ) throws {
152+ XCTAssertEqual ( TwitterMediaFieldsV2 . all. count, 12 )
153+ }
154+
136155 func testTwitterListFieldsV2( ) throws {
137156 let allCases : [ TwitterListFieldsV2 ] = [
138157 . createdAt,
@@ -153,6 +172,9 @@ class FieldsV2Tests: XCTestCase {
153172 " created_at,description,follower_count,id,member_count,name,owner_id,private,~ "
154173 )
155174 }
175+ func testTwitterListFieldsV2All( ) throws {
176+ XCTAssertEqual ( TwitterListFieldsV2 . all. count, 8 )
177+ }
156178
157179 func testTwitterSpaceFieldsV2( ) throws {
158180 let allCases : [ TwitterSpaceFieldsV2 ] = [
@@ -182,6 +204,10 @@ class FieldsV2Tests: XCTestCase {
182204 )
183205 }
184206
207+ func testTwitterSpaceFieldsV2All( ) throws {
208+ XCTAssertEqual ( TwitterSpaceFieldsV2 . all. count, 15 )
209+ }
210+
185211 func testTwitterTopicFieldsV2( ) throws {
186212 let allCases : [ TwitterTopicFieldsV2 ] = [
187213 . id,
@@ -197,4 +223,8 @@ class FieldsV2Tests: XCTestCase {
197223 " description,id,name,~ "
198224 )
199225 }
226+
227+ func testTwitterTopicFieldsV2All( ) throws {
228+ XCTAssertEqual ( TwitterTopicFieldsV2 . all. count, 3 )
229+ }
200230}
0 commit comments