Lines Matching refs:ULL
43 //%PDDM-EXPAND TEST_FOR_POD_KEY(UInt64, uint64_t, 31ULL, 32ULL, 33ULL, 34ULL)
97 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
106 …PBUInt64UInt32Dictionary *dict = [GPBUInt64UInt32Dictionary dictionaryWithValue:100U forKey:31ULL];
110 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
111 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
113 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
115 XCTAssertEqual(aKey, 31ULL);
122 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
131 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
132 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
134 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
135 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
137 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
138 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
140 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
177 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
178 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
231 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
252 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
275 [dict setValue:100U forKey:31ULL];
278 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
289 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
290 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
292 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
293 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
295 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
296 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
298 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
299 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
305 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
314 [dict removeValueForKey:32ULL];
317 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
318 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
320 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
321 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
322 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
324 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
325 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
329 [dict removeValueForKey:32ULL];
331 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
332 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
334 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
335 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
336 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
338 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
339 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
342 [dict removeValueForKey:34ULL];
344 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
345 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
347 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
348 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
349 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
351 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
355 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
356 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
357 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
358 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
363 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
372 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
373 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
375 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
376 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
378 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
379 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
381 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
382 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
385 [dict setValue:103U forKey:31ULL];
387 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
388 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
390 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
391 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
393 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
394 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
396 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
397 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
400 [dict setValue:101U forKey:34ULL];
402 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
403 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
405 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
406 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
408 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
409 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
411 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
412 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
415 const uint64_t kKeys2[] = { 32ULL, 33ULL };
424 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
425 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
427 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
428 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
430 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
431 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
433 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
434 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
454 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
463 GPBUInt64Int32Dictionary *dict = [GPBUInt64Int32Dictionary dictionaryWithValue:200 forKey:31ULL];
467 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
468 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
470 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
472 XCTAssertEqual(aKey, 31ULL);
479 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
488 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
489 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
491 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
492 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
494 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
495 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
497 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
534 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
535 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
588 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
609 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
632 [dict setValue:200 forKey:31ULL];
635 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
646 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
647 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
649 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
650 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
652 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
653 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
655 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
656 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
662 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
671 [dict removeValueForKey:32ULL];
674 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
675 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
677 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
678 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
679 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
681 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
682 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
686 [dict removeValueForKey:32ULL];
688 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
689 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
691 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
692 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
693 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
695 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
696 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
699 [dict removeValueForKey:34ULL];
701 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
702 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
704 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
705 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
706 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
708 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
712 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
713 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
714 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
715 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
720 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
729 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
730 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
732 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
733 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
735 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
736 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
738 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
739 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
742 [dict setValue:203 forKey:31ULL];
744 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
745 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
747 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
748 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
750 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
751 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
753 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
754 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
757 [dict setValue:201 forKey:34ULL];
759 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
760 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
762 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
763 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
765 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
766 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
768 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
769 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
772 const uint64_t kKeys2[] = { 32ULL, 33ULL };
781 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
782 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
784 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
785 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
787 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
788 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
790 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
791 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
811 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
820 …PBUInt64UInt64Dictionary *dict = [GPBUInt64UInt64Dictionary dictionaryWithValue:300U forKey:31ULL];
824 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
825 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
827 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
829 XCTAssertEqual(aKey, 31ULL);
836 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
845 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
846 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
848 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
849 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
851 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
852 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
854 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
891 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
892 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
945 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
966 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
989 [dict setValue:300U forKey:31ULL];
992 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
1003 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1004 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1006 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1007 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1009 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1010 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1012 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1013 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1019 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1028 [dict removeValueForKey:32ULL];
1031 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1032 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1034 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1035 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1036 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1038 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1039 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1043 [dict removeValueForKey:32ULL];
1045 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1046 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1048 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1049 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1050 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1052 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1053 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1056 [dict removeValueForKey:34ULL];
1058 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1059 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1061 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1062 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1063 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1065 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1069 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
1070 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1071 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
1072 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1077 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1086 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1087 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1089 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1090 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1092 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1093 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1095 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1096 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1099 [dict setValue:303U forKey:31ULL];
1101 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1102 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1104 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1105 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1107 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1108 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1110 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1111 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1114 [dict setValue:301U forKey:34ULL];
1116 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1117 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1119 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1120 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1122 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1123 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1125 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1126 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1129 const uint64_t kKeys2[] = { 32ULL, 33ULL };
1138 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1139 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1141 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1142 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1144 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1145 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1147 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1148 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1168 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
1177 GPBUInt64Int64Dictionary *dict = [GPBUInt64Int64Dictionary dictionaryWithValue:400 forKey:31ULL];
1181 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1182 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1184 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1186 XCTAssertEqual(aKey, 31ULL);
1193 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
1202 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1203 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1205 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1206 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1208 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1209 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1211 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1248 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1249 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
1302 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1323 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1346 [dict setValue:400 forKey:31ULL];
1349 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
1360 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1361 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1363 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1364 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1366 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1367 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1369 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1370 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1376 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1385 [dict removeValueForKey:32ULL];
1388 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1389 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1391 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1392 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1393 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1395 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1396 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1400 [dict removeValueForKey:32ULL];
1402 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1403 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1405 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1406 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1407 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1409 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1410 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1413 [dict removeValueForKey:34ULL];
1415 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1416 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1418 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1419 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1420 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1422 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1426 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
1427 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1428 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
1429 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1434 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1443 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1444 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1446 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1447 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1449 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1450 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1452 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1453 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1456 [dict setValue:403 forKey:31ULL];
1458 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1459 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1461 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1462 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1464 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1465 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1467 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1468 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1471 [dict setValue:401 forKey:34ULL];
1473 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1474 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1476 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1477 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1479 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1480 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1482 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1483 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1486 const uint64_t kKeys2[] = { 32ULL, 33ULL };
1495 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1496 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1498 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1499 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1501 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1502 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1504 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1505 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1525 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
1534 GPBUInt64BoolDictionary *dict = [GPBUInt64BoolDictionary dictionaryWithValue:YES forKey:31ULL];
1538 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1539 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1541 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1543 XCTAssertEqual(aKey, 31ULL);
1550 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
1559 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1560 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1562 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1563 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1565 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1566 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1568 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1605 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1606 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
1659 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1680 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1703 [dict setValue:YES forKey:31ULL];
1706 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
1717 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1718 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1720 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1721 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1723 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1724 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1726 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1727 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1733 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1742 [dict removeValueForKey:32ULL];
1745 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1746 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1748 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1749 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1750 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1752 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1753 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1757 [dict removeValueForKey:32ULL];
1759 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1760 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1762 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1763 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1764 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1766 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1767 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1770 [dict removeValueForKey:34ULL];
1772 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1773 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1775 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1776 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1777 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1779 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1783 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
1784 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1785 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
1786 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1791 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1800 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1801 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1803 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1804 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1806 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1807 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1809 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1810 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1813 [dict setValue:NO forKey:31ULL];
1815 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1816 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1818 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1819 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1821 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1822 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1824 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1825 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1828 [dict setValue:YES forKey:34ULL];
1830 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1831 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1833 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1834 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1836 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1837 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1839 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1840 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1843 const uint64_t kKeys2[] = { 32ULL, 33ULL };
1852 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1853 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1855 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1856 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1858 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1859 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1861 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
1862 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
1882 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
1891 …GPBUInt64FloatDictionary *dict = [GPBUInt64FloatDictionary dictionaryWithValue:500.f forKey:31ULL];
1895 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1896 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1898 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
1900 XCTAssertEqual(aKey, 31ULL);
1907 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
1916 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
1917 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
1919 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
1920 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
1922 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
1923 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
1925 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
1962 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
1963 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
2016 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2037 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2060 [dict setValue:500.f forKey:31ULL];
2063 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
2074 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2075 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2077 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2078 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2080 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2081 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2083 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2084 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2090 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2099 [dict removeValueForKey:32ULL];
2102 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2103 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2105 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2106 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2107 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2109 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2110 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2114 [dict removeValueForKey:32ULL];
2116 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2117 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2119 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2120 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2121 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2123 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2124 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2127 [dict removeValueForKey:34ULL];
2129 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2130 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2132 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2133 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2134 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2136 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2140 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
2141 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2142 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
2143 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2148 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2157 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2158 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2160 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2161 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2163 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2164 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2166 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2167 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2170 [dict setValue:503.f forKey:31ULL];
2172 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2173 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2175 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2176 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2178 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2179 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2181 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2182 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2185 [dict setValue:501.f forKey:34ULL];
2187 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2188 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2190 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2191 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2193 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2194 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2196 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2197 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2200 const uint64_t kKeys2[] = { 32ULL, 33ULL };
2209 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2210 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2212 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2213 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2215 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2216 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2218 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2219 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2239 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
2248 …PBUInt64DoubleDictionary *dict = [GPBUInt64DoubleDictionary dictionaryWithValue:600. forKey:31ULL];
2252 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2253 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2255 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2257 XCTAssertEqual(aKey, 31ULL);
2264 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
2273 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2274 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2276 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2277 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2279 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2280 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2282 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2319 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2320 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
2373 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2394 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2417 [dict setValue:600. forKey:31ULL];
2420 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
2431 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2432 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2434 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2435 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2437 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2438 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2440 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2441 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2447 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2456 [dict removeValueForKey:32ULL];
2459 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2460 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2462 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2463 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2464 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2466 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2467 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2471 [dict removeValueForKey:32ULL];
2473 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2474 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2476 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2477 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2478 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2480 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2481 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2484 [dict removeValueForKey:34ULL];
2486 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2487 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2489 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2490 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2491 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2493 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2497 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
2498 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2499 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
2500 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2505 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2514 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2515 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2517 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2518 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2520 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2521 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2523 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2524 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2527 [dict setValue:603. forKey:31ULL];
2529 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2530 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2532 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2533 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2535 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2536 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2538 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2539 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2542 [dict setValue:601. forKey:34ULL];
2544 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2545 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2547 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2548 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2550 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2551 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2553 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2554 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2557 const uint64_t kKeys2[] = { 32ULL, 33ULL };
2566 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2567 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2569 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2570 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2572 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2573 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2575 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2576 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2596 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
2605 GPBUInt64EnumDictionary *dict = [GPBUInt64EnumDictionary dictionaryWithValue:700 forKey:31ULL];
2609 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2610 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2612 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2614 XCTAssertEqual(aKey, 31ULL);
2621 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
2630 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2631 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2633 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2634 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2636 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2637 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2639 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2676 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2677 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
2730 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2751 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2774 [dict setValue:700 forKey:31ULL];
2777 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
2788 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2789 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2791 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2792 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2794 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2795 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2797 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2798 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2804 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2813 [dict removeValueForKey:32ULL];
2816 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2817 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2819 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2820 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2821 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2823 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2824 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2828 [dict removeValueForKey:32ULL];
2830 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2831 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2833 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2834 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2835 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2837 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2838 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2841 [dict removeValueForKey:34ULL];
2843 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2844 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2846 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2847 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2848 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2850 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2854 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
2855 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
2856 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
2857 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
2862 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
2871 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2872 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2874 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2875 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2877 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2878 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2880 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2881 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2884 [dict setValue:703 forKey:31ULL];
2886 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2887 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2889 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2890 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2892 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2893 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2895 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2896 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2899 [dict setValue:701 forKey:34ULL];
2901 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2902 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2904 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2905 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2907 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2908 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2910 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2911 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2914 const uint64_t kKeys2[] = { 32ULL, 33ULL };
2923 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
2924 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
2926 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2927 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2929 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
2930 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
2932 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
2933 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
2950 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
2961 XCTAssertTrue([dict valueForKey:31ULL rawValue:NULL]);
2962 XCTAssertTrue([dict valueForKey:31ULL rawValue:&value]);
2964 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
2965 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
2967 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]);
2968 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]);
2970 XCTAssertTrue([dict valueForKey:33ULL rawValue:NULL]);
2971 XCTAssertTrue([dict valueForKey:33ULL rawValue:&value]);
2973 XCTAssertFalse([dict valueForKey:34ULL rawValue:NULL]);
3032 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3033 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
3091 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3113 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3139 XCTAssertThrowsSpecificNamed([dict setValue:801 forKey:32ULL], // Unknown
3142 [dict setRawValue:801 forKey:32ULL]; // Unknown
3145 const uint64_t kKeys[] = { 31ULL, 33ULL, 34ULL };
3156 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
3157 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
3159 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
3160 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
3162 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]);
3163 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]);
3165 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3166 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3168 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
3169 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
3171 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]);
3172 XCTAssertTrue([dict valueForKey:34ULL rawValue:&value]);
3178 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3188 [dict removeValueForKey:32ULL];
3191 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
3192 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
3194 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
3195 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3196 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3198 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]);
3199 XCTAssertTrue([dict valueForKey:34ULL rawValue:&value]);
3203 [dict removeValueForKey:32ULL];
3205 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
3206 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
3208 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
3209 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3210 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3212 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]);
3213 XCTAssertTrue([dict valueForKey:34ULL rawValue:&value]);
3216 [dict removeValueForKey:34ULL];
3218 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
3219 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
3221 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
3222 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3223 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3225 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
3229 XCTAssertFalse([dict valueForKey:31ULL value:NULL]);
3230 XCTAssertFalse([dict valueForKey:32ULL value:NULL]);
3231 XCTAssertFalse([dict valueForKey:33ULL value:NULL]);
3232 XCTAssertFalse([dict valueForKey:34ULL value:NULL]);
3237 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3247 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
3248 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
3250 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]);
3251 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]);
3253 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3254 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3256 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]);
3257 XCTAssertTrue([dict valueForKey:34ULL rawValue:&value]);
3260 XCTAssertThrowsSpecificNamed([dict setValue:803 forKey:31ULL], // Unknown
3263 XCTAssertTrue([dict valueForKey:31ULL value:NULL]);
3264 XCTAssertTrue([dict valueForKey:31ULL value:&value]);
3266 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]);
3267 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]);
3269 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3270 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3272 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]);
3273 XCTAssertTrue([dict valueForKey:34ULL rawValue:&value]);
3276 [dict setRawValue:803 forKey:31ULL]; // Unknown
3278 XCTAssertTrue([dict valueForKey:31ULL rawValue:NULL]);
3279 XCTAssertTrue([dict valueForKey:31ULL rawValue:&value]);
3281 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]);
3282 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]);
3284 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3285 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3287 XCTAssertTrue([dict valueForKey:34ULL rawValue:NULL]);
3288 XCTAssertTrue([dict valueForKey:34ULL rawValue:&value]);
3291 [dict setRawValue:700 forKey:34ULL];
3293 XCTAssertTrue([dict valueForKey:31ULL rawValue:NULL]);
3294 XCTAssertTrue([dict valueForKey:31ULL rawValue:&value]);
3296 XCTAssertTrue([dict valueForKey:32ULL rawValue:NULL]);
3297 XCTAssertTrue([dict valueForKey:32ULL rawValue:&value]);
3299 XCTAssertTrue([dict valueForKey:33ULL value:NULL]);
3300 XCTAssertTrue([dict valueForKey:33ULL value:&value]);
3302 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
3303 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
3306 const uint64_t kKeys2[] = { 32ULL, 33ULL };
3316 XCTAssertTrue([dict valueForKey:31ULL rawValue:NULL]);
3317 XCTAssertTrue([dict valueForKey:31ULL rawValue:&value]);
3319 XCTAssertTrue([dict valueForKey:32ULL value:NULL]);
3320 XCTAssertTrue([dict valueForKey:32ULL value:&value]);
3322 XCTAssertTrue([dict valueForKey:33ULL rawValue:NULL]);
3323 XCTAssertTrue([dict valueForKey:33ULL rawValue:&value]);
3325 XCTAssertTrue([dict valueForKey:34ULL value:NULL]);
3326 XCTAssertTrue([dict valueForKey:34ULL value:&value]);
3334 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3369 XCTAssertNil([dict objectForKey:31ULL]);
3378 …Dictionary<NSString*> *dict = [GPBUInt64ObjectDictionary dictionaryWithObject:@"abc" forKey:31ULL];
3381 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3382 XCTAssertNil([dict objectForKey:32ULL]);
3384 XCTAssertEqual(aKey, 31ULL);
3391 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL };
3399 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3400 XCTAssertEqualObjects([dict objectForKey:32ULL], @"def");
3401 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3402 XCTAssertNil([dict objectForKey:34ULL]);
3439 const uint64_t kKeys1[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3440 const uint64_t kKeys2[] = { 32ULL, 31ULL, 34ULL };
3493 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3514 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3537 [dict setObject:@"abc" forKey:31ULL];
3540 const uint64_t kKeys[] = { 32ULL, 33ULL, 34ULL };
3550 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3551 XCTAssertEqualObjects([dict objectForKey:32ULL], @"def");
3552 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3553 XCTAssertEqualObjects([dict objectForKey:34ULL], @"jkl");
3558 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3567 [dict removeObjectForKey:32ULL];
3569 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3570 XCTAssertNil([dict objectForKey:32ULL]);
3571 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3572 XCTAssertEqualObjects([dict objectForKey:34ULL], @"jkl");
3575 [dict removeObjectForKey:32ULL];
3577 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3578 XCTAssertNil([dict objectForKey:32ULL]);
3579 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3580 XCTAssertEqualObjects([dict objectForKey:34ULL], @"jkl");
3582 [dict removeObjectForKey:34ULL];
3584 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3585 XCTAssertNil([dict objectForKey:32ULL]);
3586 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3587 XCTAssertNil([dict objectForKey:34ULL]);
3591 XCTAssertNil([dict objectForKey:31ULL]);
3592 XCTAssertNil([dict objectForKey:32ULL]);
3593 XCTAssertNil([dict objectForKey:33ULL]);
3594 XCTAssertNil([dict objectForKey:34ULL]);
3599 const uint64_t kKeys[] = { 31ULL, 32ULL, 33ULL, 34ULL };
3607 XCTAssertEqualObjects([dict objectForKey:31ULL], @"abc");
3608 XCTAssertEqualObjects([dict objectForKey:32ULL], @"def");
3609 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3610 XCTAssertEqualObjects([dict objectForKey:34ULL], @"jkl");
3612 [dict setObject:@"jkl" forKey:31ULL];
3614 XCTAssertEqualObjects([dict objectForKey:31ULL], @"jkl");
3615 XCTAssertEqualObjects([dict objectForKey:32ULL], @"def");
3616 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3617 XCTAssertEqualObjects([dict objectForKey:34ULL], @"jkl");
3619 [dict setObject:@"def" forKey:34ULL];
3621 XCTAssertEqualObjects([dict objectForKey:31ULL], @"jkl");
3622 XCTAssertEqualObjects([dict objectForKey:32ULL], @"def");
3623 XCTAssertEqualObjects([dict objectForKey:33ULL], @"ghi");
3624 XCTAssertEqualObjects([dict objectForKey:34ULL], @"def");
3626 const uint64_t kKeys2[] = { 32ULL, 33ULL };
3635 XCTAssertEqualObjects([dict objectForKey:31ULL], @"jkl");
3636 XCTAssertEqualObjects([dict objectForKey:32ULL], @"ghi");
3637 XCTAssertEqualObjects([dict objectForKey:33ULL], @"abc");
3638 XCTAssertEqualObjects([dict objectForKey:34ULL], @"def");
3646 //%PDDM-EXPAND-END TEST_FOR_POD_KEY(UInt64, uint64_t, 31ULL, 32ULL, 33ULL, 34ULL)