Ygg-Drasill / Sleipnir

Compiler for Ygg-Drasill Programming Language
MIT License
2 stars 0 forks source link

Feature/integration test valid #57

Closed alexrefshauge closed 5 months ago

alexrefshauge commented 5 months ago

The main integration test uses samples located inside test/samples/valid and test/samples/valid. All invalid samples are expected to produce an error when compiled, while valid samples are expected to compile without errors. Optionally, for much higher test quality a result value can be expected from valid samples using the following format in the sample files:

<source code>
expect:<result>