diff options
Diffstat (limited to 'Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m')
-rw-r--r-- | Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m b/Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m new file mode 100644 index 0000000..d402916 --- /dev/null +++ b/Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m @@ -0,0 +1,17 @@ +#import "FSTImmutableSortedDictionary+Testing.h" + +NS_ASSUME_NONNULL_BEGIN + +@implementation FSTImmutableSortedDictionary (Testing) + +- (NSArray<id> *)values { + NSMutableArray<id> *result = [NSMutableArray array]; + [self enumerateKeysAndObjectsUsingBlock:^(id key, id value, BOOL *stop) { + [result addObject:value]; + }]; + return result; +} + +@end + +NS_ASSUME_NONNULL_END |