You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
Much like the test runner in Rhino, we should have something that runs the example brain files.
We could structure it like this:
examples/
brain/
test1.brain
test1.in
test1.out
The .in file is optional and can be used to provide input to the test .brn file. The test runner would be in tests/example_runner.rs or something. It would run each test with its input (if available) and compare it to the output to always ensure that our examples work.
Be able to test errors as well like syntax errors, etc.
Make sure all .brn examples at least compile (add this as a test)
The text was updated successfully, but these errors were encountered:
Much like the test runner in Rhino, we should have something that runs the example brain files.
We could structure it like this:
The
.in
file is optional and can be used to provide input to the test.brn
file. The test runner would be intests/example_runner.rs
or something. It would run each test with its input (if available) and compare it to the output to always ensure that our examples work.The text was updated successfully, but these errors were encountered: