From 6919e604ad737a486b32248b4316df4e8058b3fe Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Tue, 10 Sep 2024 16:58:34 -0600 Subject: [PATCH] Stubbed missing tests --- cursor/cursor_test.go | 1 + cursor/helper_test.go | 7 +++++++ parser_test.go | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 cursor/helper_test.go diff --git a/cursor/cursor_test.go b/cursor/cursor_test.go index 9b10b96..1b7bf33 100644 --- a/cursor/cursor_test.go +++ b/cursor/cursor_test.go @@ -84,6 +84,7 @@ func testCursor[C cursor.Cursor[byte]](t *testing.T, makeCursor func([]byte) C) test.NoError(t, err) test.EqOp(t, data[pos], dst[0]) })) + t.Run("Pos", Todo) } func TestSliceCursor(t *testing.T) { diff --git a/cursor/helper_test.go b/cursor/helper_test.go new file mode 100644 index 0000000..a3fd2a0 --- /dev/null +++ b/cursor/helper_test.go @@ -0,0 +1,7 @@ +package cursor_test + +import "testing" + +func TestBufferedReader(t *testing.T) { + Todo(t) +} diff --git a/parser_test.go b/parser_test.go index d1de26a..7e4e54d 100644 --- a/parser_test.go +++ b/parser_test.go @@ -66,3 +66,27 @@ func TestSlice(t *testing.T) { func TestChoose(t *testing.T) { Todo(t) } + +func TestBind(t *testing.T) { + Todo(t) +} + +func TestReturn(t *testing.T) { + Todo(t) +} + +func TestMap(t *testing.T) { + Todo(t) +} + +func TestSatisfy(t *testing.T) { + Todo(t) +} + +func Try(t *testing.T) { + Todo(t) +} + +func TestLabel(t *testing.T) { + Todo(t) +}