Closed pringscreem closed 2 months ago
Fixed. This was caused by incorrect loop structure (fixed by writing out the desired steps on paper instead of rushing through it). Also fixed an issue with std::string::npos (true indicates no matches, false indicates a match was found).
The output file has every line copied into it three times, except the include filename statement for the test class that matches the class header filename (#include "Game.h"), which is copied twice (the check must be working, it is just going through the copy loop three times).