-
Open a terminal and navigate to the directory containing the
test_runner.pyscript. -
Run the tester with one of the following commands:
- To test the Assembler (runs assembler on assembly input tests and compares output with assembler solutions):
python3 test_runner.py --no-sim-To test the Simulator (runs simulator on binary input tests and compares output with simulator solutions):
python3 test_runner.py --no-asmThe script will automatically:
Run all tests in the hardcoded test directories,
Compare the program outputs to the expected solution files,
Print which tests passed or failed,
Show a summary at the end.