Skip to content

Commit a9a28c0

Browse files
committed
Add new 1.3 query tests
1 parent 9e7a321 commit a9a28c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/languages/dotnet/Tests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ public async Task Test1()
113113
TestContext.WriteLine(Query.LessThan("releasedYear", 1990));
114114
TestContext.WriteLine(Query.GreaterThan("releasedYear", 1990));
115115
TestContext.WriteLine(Query.Search("name", "john"));
116+
TestContext.WriteLine(Query.IsNull("name"));
117+
TestContext.WriteLine(Query.IsNotNull("name"));
118+
TestContext.WriteLine(Query.Between("age", 50, 100));
119+
TestContext.WriteLine(Query.Between("age", 50.5, 100.5));
120+
TestContext.WriteLine(Query.Between("name", "Anna", "Brad"));
121+
TestContext.WriteLine(Query.StartsWith("name", "Ann"));
122+
TestContext.WriteLine(Query.EndsWith("name", "nne"));
123+
TestContext.WriteLine(Query.Select(new List<string> { "name", "age" }));
116124
TestContext.WriteLine(Query.OrderAsc("title"));
117125
TestContext.WriteLine(Query.OrderDesc("title"));
118126
TestContext.WriteLine(Query.CursorAfter("my_movie_id"));

0 commit comments

Comments
 (0)