diff options
author | Gil <mcg@google.com> | 2018-01-31 14:28:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-31 14:28:20 -0800 |
commit | ac3052223465ce654457fec17b34f27de1706e57 (patch) | |
tree | 64acd16a6d963ba8a429ed6025e64c2e8221f411 /Firestore/third_party | |
parent | 729b8d176c75ecc0cbbd137cc6811116a64e310a (diff) |
Start on ArraySortedMap in C++ (#721)
* Implement ArraySortedMap.remove
* Implement ArraySortedMap.insert
* Ensure ArraySortedMap.insert avoids copying on duplicates
* Port more ArraySortedMapTests
Diffstat (limited to 'Firestore/third_party')
-rw-r--r-- | Firestore/third_party/Immutable/Tests/FSTArraySortedDictionaryTests.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Firestore/third_party/Immutable/Tests/FSTArraySortedDictionaryTests.m b/Firestore/third_party/Immutable/Tests/FSTArraySortedDictionaryTests.m index a799686..2099a26 100644 --- a/Firestore/third_party/Immutable/Tests/FSTArraySortedDictionaryTests.m +++ b/Firestore/third_party/Immutable/Tests/FSTArraySortedDictionaryTests.m @@ -288,15 +288,12 @@ - (void)testEnumerator { NSUInteger n = 100; NSMutableArray *toInsert = [NSMutableArray arrayWithCapacity:n]; - NSMutableArray *toRemove = [NSMutableArray arrayWithCapacity:n]; for (int i = 0; i < n; i++) { [toInsert addObject:@(i)]; - [toRemove addObject:@(i)]; } [self shuffleArray:toInsert]; - [self shuffleArray:toRemove]; FSTArraySortedDictionary *map = [[FSTArraySortedDictionary alloc] initWithComparator:self.defaultComparator]; |