Splitting tests into unit and integration tests and general clean-up of the test code
Created by: SkyToGround
Fixes #49 (closed) Fixes #162 (closed)
This is what I have done:
- Split the tests into unit tests and integration tests.
- Fixed failing test.
- LLVM:ified the file names and test names (changed suffixes to .cpp and made names camel case).
- Removed some dead code.
- Moved test (json) data into separate directory and made the tests find that data using absolute paths.
- Fixed null pointer access bug in the integration test code.
- Other minor fixes and improvements to the code.
The new IntegrationTests target builds and runs though it crashes. Someone with more knowledge about the integration test should take a look at it. I do not believe I have broken anything in it.