14 overrides of CreateT
Microsoft.CodeAnalysis.UnitTests (14)
Collections\HashSet\SegmentedHashSet_Generic_Tests.cs (10)
19protected override string CreateT(int seed) 31protected override int CreateT(int seed) 52protected override int CreateT(int seed) 76protected override SimpleInt CreateT(int seed) 90protected override EquatableBackwardsOrder CreateT(int seed) 109protected override int CreateT(int seed) 128protected override int CreateT(int seed) 152protected override int CreateT(int seed) 171protected override int CreateT(int seed) 190protected override int CreateT(int seed)
Collections\List\SegmentedList.Generic.cs (4)
20protected override string CreateT(int seed) 32protected override int CreateT(int seed) 41protected override string CreateT(int seed) 69protected override int CreateT(int seed)
85 references to CreateT
Microsoft.CodeAnalysis.UnitTests (85)
Collections\HashSet\ISet_Generic_Tests`1.cs (8)
59T toAdd = CreateT(seed++); 61toAdd = CreateT(seed++); 91T newValue = CreateT(seed++); 93newValue = CreateT(seed++); 112T duplicateValue = CreateT(seed++); 114duplicateValue = CreateT(seed++); 330Assert.Throws<NotSupportedException>(() => set.Add(CreateT(0))); 646T value = CreateT(532);
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (21)
294List<T> objects = new List<T>() { CreateT(1), CreateT(2), CreateT(3), CreateT(4), CreateT(5), CreateT(6) }; 328List<T> objects = new List<T>() { CreateT(1), CreateT(2), CreateT(3), CreateT(4), CreateT(5), CreateT(6) }; 443T value = CreateT(1); 445T equalValue = CreateT(1); 457T value = CreateT(1); 459T equalValue = CreateT(1); 461T? actualValue = CreateT(2); 474T value = CreateT(1); 476T equalValue = CreateT(2); 484T value = CreateT(1); 486T equalValue = CreateT(2);
Collections\List\ICollection.Generic.Tests.cs (22)
61T toAdd = CreateT(seed++); 63toAdd = CreateT(seed++); 89casted.Add(CreateT(2344)); 172collection.Add(CreateT(i)); 189collection.Add(CreateT(i)); 217T duplicateValue = CreateT(700); 246T toAdd = CreateT(seed++); 248toAdd = CreateT(seed++); 252toAdd = CreateT(seed++); 254toAdd = CreateT(seed++); 272collection.Add(CreateT(254)); 284Assert.Throws<NotSupportedException>(() => collection.Add(CreateT(0))); 297T toAdd = CreateT(seed++); 299toAdd = CreateT(seed++); 398T item = CreateT(seed++); 400item = CreateT(seed++); 443T item = CreateT(12); 560Assert.Throws<NotSupportedException>(() => collection.Remove(CreateT(34543))); 591T value = CreateT(seed++); 593value = CreateT(seed++); 626T value = CreateT(seed++); 645T value = CreateT(seed++);
Collections\List\IList.Generic.Tests.cs (20)
60casted.Insert(0, CreateT(12)); 73casted[0] = CreateT(12); 148T validAdd = CreateT(0); 162T validAdd = CreateT(0); 177Assert.Throws<NotSupportedException>(() => list[count / 2] = CreateT(321432)); 189T value = CreateT(123452); 222T value = CreateT(123452); 257T value = CreateT(123452); 330T value = CreateT(seed++); 332value = CreateT(seed++); 344T value = CreateT(12345); 405T validAdd = CreateT(0); 419T validAdd = CreateT(12350); 433Assert.Throws<NotSupportedException>(() => list.Insert(count / 2, CreateT(321432))); 445T value = CreateT(123452); 473T value = CreateT(123452); 503T value = CreateT(123452); 544T validAdd = CreateT(0); 558T validAdd = CreateT(0); 640collection.Add(CreateT(seed++));
Collections\List\SegmentedList.Generic.Tests.BinarySearch.cs (1)
68T element = CreateT(3215);
Collections\List\SegmentedList.Generic.Tests.Capacity.cs (1)
42list.Add(CreateT(i));
Collections\List\SegmentedList.Generic.Tests.IndexOf.cs (4)
195T element = CreateT(234); 207T element = CreateT(234); 222T element = CreateT(234); 235T element = CreateT(234);
Collections\List\TestBase.Generic.cs (8)
156T toEnqueue = CreateT(seed++); 158toEnqueue = CreateT(seed++); 205T toAdd = CreateT(seed++); 207toAdd = CreateT(seed++); 249T toAdd = CreateT(seed++); 251toAdd = CreateT(seed++); 291T toAdd = CreateT(seed++); 293toAdd = CreateT(seed++);