private void MultiTableSelectTest(TableSelectStatement statement, object[][] expectedValues) { RowResult result = statement.Execute(); int rowCount = result.FetchAll().Count; Assert.Equal(expectedValues.Length, rowCount); Assert.Equal(expectedValues.Length, result.Rows.Count); for (int i = 0; i < expectedValues.Length; i++) { for (int j = 0; j < expectedValues[i].Length; j++) { Assert.Equal(expectedValues[i][j], result.Rows.ToArray()[i][j]); } } }
protected RowResult ExecuteSelectStatement(TableSelectStatement stmt) { return(stmt.Execute()); }