GabrielDosReis / ipr

Compiler-neutral Internal Program Representation for C++
BSD 3-Clause "New" or "Revised" License
222 stars 23 forks source link

chore: move doctest's main function into main.cpp #174

Closed Codiferous closed 3 years ago

Codiferous commented 3 years ago

Moving doctest's main function into a separate main.cpp makes it clearer that it is distinguished from regular tests. All tests now follow the same pattern (include doctest).

I also changed the includes to use <> instead of "", because doctest is on the search path of the test files, not relative to them.

GabrielDosReis commented 3 years ago

Thanks, Cody!