public void TypeAndDbTypeTest(Type type1, DbType dbType, Type type2) { Assert.Equal(dbType, BigQueryTypeConverter.ToDbType(type1)); Assert.Equal(type2, BigQueryTypeConverter.ToType(dbType)); }
public void TimesTest(string bigQueryTypeName, Type systemType, BigQueryDbType bigQueryDbType, DbType dbType) { Assert.Equal(systemType, BigQueryTypeConverter.ToType(bigQueryTypeName)); Assert.Equal(bigQueryDbType, BigQueryTypeConverter.ToBigQueryDbType(bigQueryTypeName)); Assert.Equal(dbType, BigQueryTypeConverter.ToDbType(bigQueryDbType)); }
public void DbTypeAndBigQueryDbTypeTest(DbType dbType1, BigQueryDbType bigQueryType, DbType dbType2) { Assert.Equal(bigQueryType, BigQueryTypeConverter.ToBigQueryDbType(dbType1)); Assert.Equal(dbType2, BigQueryTypeConverter.ToDbType(bigQueryType)); }