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:
Evgenii Stratonikov 2020-04-30 11:08:03 +03:00
parent 9081211f12
commit c8328981ec

File diff suppressed because it is too large Load diff