Add initial unit tests

- Add µnit source and header files
- Add test target to the build system
- Implement a thorough lexer test suite
- Implement a minimal AST test suite
This commit is contained in:
2025-04-04 04:07:40 +02:00
parent 3fead8017b
commit 27099c9899
8 changed files with 3543 additions and 0 deletions

6
tests/.clang-format Normal file
View File

@ -0,0 +1,6 @@
BasedOnStyle: LLVM
IndentWidth: 4
Cpp11BracedListStyle: true
AlignArrayOfStructures: Left
AllowShortFunctionsOnASingleLine: Empty
ColumnLimit: 120