I have a file with all my logic, and I would like to write a separate file to test the functions in my main file.
How do I go about doing this? Should I make it a header file? Could I do something like
#include mainfile.cpp
If they're in the same directory?