diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-06 14:50:50 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-06 14:50:50 -0500 |
commit | 567eed5e49a927a31b2692c586da1246519fb1a9 (patch) | |
tree | a6f9c1b347f193a5708074f29db8d26e5e67cbb9 /tests/test_method | |
parent | b0835a8f23d0fd100ecee28ded3bd621b889a634 (diff) |
Some basic tests
Diffstat (limited to 'tests/test_method')
-rw-r--r-- | tests/test_method | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/test_method b/tests/test_method new file mode 100644 index 0000000..0f79400 --- /dev/null +++ b/tests/test_method @@ -0,0 +1,23 @@ +struct Vector { + ~void data, + int + size, + count, + _el_sz +} + +/; method Vector + + /; init + self.size = 69 + ;/ +;/ + +/; main [int] + + Vector a + a.init() + + return a.size + +;/ |