private protected static void ContainsValueTestHelper <TKey, TValue>(
     ImmutableSegmentedDictionary <TKey, TValue> map,
     TKey key,
     TValue value
     ) where TKey : notnull
 {
     Assert.False(map.ContainsValue(value));
     Assert.True(map.Add(key, value).ContainsValue(value));
 }