aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/third_party/Immutable/Tests/FSTImmutableSortedDictionary+Testing.m
blob: d402916f8efe55e1f8fe79e1c39f76526eabb2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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