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)
19protected override string CreateT(int seed) 31protected override int CreateT(int seed) 40protected override string CreateT(int seed) 66protected override int CreateT(int seed)
83 references to CreateT
Microsoft.CodeAnalysis.UnitTests (83)
Collections\HashSet\ISet_Generic_Tests`1.cs (7)
59T toAdd = CreateT(seed++); 61toAdd = CreateT(seed++); 91T newValue = CreateT(seed++); 93newValue = CreateT(seed++); 112T duplicateValue = CreateT(seed++); 114duplicateValue = CreateT(seed++); 594T value = CreateT(532);
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (21)
292List<T> objects = new List<T>() { CreateT(1), CreateT(2), CreateT(3), CreateT(4), CreateT(5), CreateT(6) }; 326List<T> objects = new List<T>() { CreateT(1), CreateT(2), CreateT(3), CreateT(4), CreateT(5), CreateT(6) }; 441T value = CreateT(1); 443T equalValue = CreateT(1); 455T value = CreateT(1); 457T equalValue = CreateT(1); 459T? actualValue = CreateT(2); 472T value = CreateT(1); 474T equalValue = CreateT(2); 482T value = CreateT(1); 484T equalValue = CreateT(2);
Collections\List\ICollection.Generic.Tests.cs (22)
59T toAdd = CreateT(seed++); 61toAdd = CreateT(seed++); 87casted.Add(CreateT(2344)); 170collection.Add(CreateT(i)); 187collection.Add(CreateT(i)); 215T duplicateValue = CreateT(700); 244T toAdd = CreateT(seed++); 246toAdd = CreateT(seed++); 250toAdd = CreateT(seed++); 252toAdd = CreateT(seed++); 270collection.Add(CreateT(254)); 282Assert.Throws<NotSupportedException>(() => collection.Add(CreateT(0))); 295T toAdd = CreateT(seed++); 297toAdd = CreateT(seed++); 356T item = CreateT(seed++); 358item = CreateT(seed++); 399T item = CreateT(12); 516Assert.Throws<NotSupportedException>(() => collection.Remove(CreateT(34543))); 547T value = CreateT(seed++); 549value = CreateT(seed++); 582T value = CreateT(seed++); 601T 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.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)
149T toEnqueue = CreateT(seed++); 151toEnqueue = CreateT(seed++); 198T toAdd = CreateT(seed++); 200toAdd = CreateT(seed++); 242T toAdd = CreateT(seed++); 244toAdd = CreateT(seed++); 284T toAdd = CreateT(seed++); 286toAdd = CreateT(seed++);