From 3902db8fe565192279b8140d274d73fd075f2a9b Mon Sep 17 00:00:00 2001 From: Giorgi Dalakishvili Date: Wed, 13 Nov 2024 19:47:57 +0400 Subject: [PATCH] Remove extra test --- DuckDB.NET.Test/TableFunctionTests.cs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/DuckDB.NET.Test/TableFunctionTests.cs b/DuckDB.NET.Test/TableFunctionTests.cs index d2d7ab0..221a3b1 100644 --- a/DuckDB.NET.Test/TableFunctionTests.cs +++ b/DuckDB.NET.Test/TableFunctionTests.cs @@ -13,26 +13,6 @@ namespace DuckDB.NET.Test; [Experimental("DuckDBNET001")] public class TableFunctionTests(DuckDBDatabaseFixture db) : DuckDBTestBase(db) { - [Fact] - public void RegisterTableFunctionWithOneParameter() - { - Connection.RegisterTableFunction("demo", async (parameters) => - { - var value = parameters[0].GetValue(); - - return new TableFunction(new List() - { - new ColumnInfo("foo", typeof(int)), - }, Enumerable.Range(0, value)); - }, (item, writers, rowIndex) => - { - writers[0].WriteValue((int)item, rowIndex); - }); - - var data = Connection.Query("SELECT * FROM demo(30);"); - data.Should().BeEquivalentTo(Enumerable.Range(0, 30)); - } - [Fact] public void RegisterTableFunctionWithTwoParameters() {