vm: refactor tests
Most of the tests follow the same logic: push items on stack -> execute program -> check single result. This commit reuses this function in most of the tests.
This commit is contained in:
parent
9081211f12
commit
c8328981ec
1 changed files with 250 additions and 1155 deletions
1405
pkg/vm/vm_test.go
1405
pkg/vm/vm_test.go
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue