15 references to GenerateStrings
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (15)
Utilities\BloomFilterTests.cs (15)
48var strings = new HashSet<string>(GenerateStrings(2000).Skip(500).Take(1000), comparer);
49var testStrings = GenerateStrings(100000);
94var testStrings = GenerateStrings(100000);
168var longs = CreateLongs(GenerateStrings(2000).Skip(500).Take(1000).Select(s => s.GetHashCode()).ToList());
169var testLongs = CreateLongs(GenerateStrings(100000).Select(s => s.GetHashCode()).ToList());
206var allStringsToTest = GenerateStrings(100_000);
211new HashSet<string>(GenerateStrings(1_000), comparer),
212new HashSet<string>(GenerateStrings(1_000).Where((s, i) => i % 1 == 0), comparer),
213new HashSet<string>(GenerateStrings(1_000).Where((s, i) => i % 1 == 1), comparer),
214new HashSet<string>(GenerateStrings(10_000), comparer),
215new HashSet<string>(GenerateStrings(10_000).Where((s, i) => i % 1 == 0), comparer),
216new HashSet<string>(GenerateStrings(10_000).Where((s, i) => i % 1 == 1), comparer),
217new HashSet<string>(GenerateStrings(100_000), comparer),
218new HashSet<string>(GenerateStrings(100_000).Where((s, i) => i % 1 == 0), comparer),
219new HashSet<string>(GenerateStrings(100_000).Where((s, i) => i % 1 == 1), comparer),