diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-04-25 17:06:03 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-04-25 17:06:03 +0200 |
| commit | 4c73f60e8b11585bed7c754c5a0cb7b59e6c2958 (patch) | |
| tree | 648e0bb216b58ce4e0eb214a3f7522573c915c26 /src/testing | |
| parent | 9343b64c66a4765679d58fa09ebe0ecd8972d627 (diff) | |
started work on adding tests
Diffstat (limited to 'src/testing')
| -rw-r--r-- | src/testing/testing.odin | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin new file mode 100644 index 0000000..7b47f90 --- /dev/null +++ b/src/testing/testing.odin @@ -0,0 +1,25 @@ +package ols_testing
+
+import "core:testing"
+
+Package_Source :: struct {
+ pkg_name: string,
+ source: string,
+}
+
+Source :: struct {
+ main: string,
+ source_packages: Package_Source,
+}
+
+expect_signature :: proc(t: ^testing.T, src: Source, expect_arg: []string) {
+
+}
+
+expect_completion :: proc(t: ^testing.T, src: Source, completions: []string) {
+
+}
+
+expect_hover :: proc(t: ^testing.T, src: Source, hover_info: string) {
+
+}
\ No newline at end of file |