public void CreatingFeatureProviderWithSchema() { DataColumn[] columns = new DataColumn[] { new DataColumn("Column1", typeof(int)), new DataColumn("Column2", typeof(string)), new DataColumn("Column3", typeof(DateTime)), }; FeatProvider provider = new FeatProvider(columns); DataTable schema = provider.GetSchemaTable(); Assert.AreEqual(3, schema.Rows); }
public void CreatingFeatureProviderWithNoSchema() { FeatProvider provider = new FeatProvider(); DataTable schema = provider.GetSchemaTable(); Assert.AreEqual(0, schema.Rows); }