1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Collections.Generic; 6 7 namespace System.Collections.Tests 8 { 9 /// <summary> 10 /// Provides a base set of nongeneric operations that are used by all other testing interfaces. 11 /// </summary> 12 public abstract class TestBase 13 { 14 #region Helper Methods 15 ValidCollectionSizes()16 public static IEnumerable<object[]> ValidCollectionSizes() 17 { 18 yield return new object[] { 0 }; 19 yield return new object[] { 1 }; 20 yield return new object[] { 75 }; 21 } 22 23 public enum EnumerableType 24 { 25 HashSet, 26 SortedSet, 27 List, 28 Queue 29 }; 30 31 #endregion 32 } 33 } 34