Archived
1
0
Fork 0
This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
nimfunge98/tests/mycology.nim

14 lines
303 B
Nim

import ../src/field
import ../src/interpreter
import ../src/pointer
import unittest
suite "Mycology":
const filename = "mycology/mycology.b98"
var f = Load(filename)
check f != nil
let argv = @[filename]
var p = NewPointer(argv = argv)
let v = NewInterpreter(f, p)[].Run()
check v == 15