Tests for Project
Closes #18 (closed)
Added some tests that can be run on the local machine by running command stack test
. Tests compilation of Program and base functionality. First: Tokenizer, Parser and Compiler will be tested independently with same input (small f Program) . Second: Input is a group of f Functions. Only the Compileroutput is tests (crosschecked with FIN). One Assumption: If Compileroutput correct -> Tokenizer and Parser correct.
Tokenizer
checks Tokenizer base Functionality
Parser
checks Parser base Functionality
Compiler
checks Compiler base Functionality
Smoke Test
tests a lot of different Functions
Finished in 0.0067 seconds
4 examples, 0 failures