Archived
1
0
Fork 0

Implemented missing functions for the interpreter

This commit is contained in:
Julien Dessaux 2021-10-06 22:06:05 +02:00
parent f6bd9fa1a8
commit ba8933937e
6 changed files with 90 additions and 2 deletions

View file

@ -144,3 +144,6 @@ suite "Stack":
check empty[].Next() == nil
var some = NewStack(next = empty)
check some[].Next() == empty
test "GetHeights":
var empty = NewStack()
check empty[].GetHeights == @[0]