Пример #1
0
        public IEnumerator <object[]> GetEnumerator()
        {
            yield return(InsertTestData.IdentityTest(2));

            yield return(InsertTestData.IdentityTest(10));

            yield return(InsertTestData.IdentityAndExplictTest(2));

            yield return(InsertTestData.IdentityAndExplictTest(10));

            yield return(InsertTestData.ComputedTest(2));

            yield return(InsertTestData.ComputedTest(10));

            yield return(InsertTestData.WriteTest(2));

            yield return(InsertTestData.WriteTest(10));

            yield return(InsertTestData.DataTypeTest(2));

            yield return(InsertTestData.DataTypeTest(10));

            yield return(InsertTestData.DataTypeNullableTest(2));

            yield return(InsertTestData.DataTypeNullableTest(10));
        }
Пример #2
0
        public IEnumerable <object[]> DataSet(int count)
        {
            yield return(InsertTestData.IdentityTest(count));

            yield return(InsertTestData.IdentityAndExplictTest(count));

            yield return(InsertTestData.ComputedTest(count));

            yield return(InsertTestData.WriteTest(count));

            yield return(InsertTestData.DataTypeTest(count));

            yield return(InsertTestData.DataTypeNullableTest(count));
        }