I have two source files: one I want to test via asserts, the second containing the asserts.
My problem is that I do not want the testing to be run each time the program itself is run, so is there a way to toggle assert testing on or off depending on a makefile argument?
Or will I have to create another source file, containing both the code I want to test and the assert testing itself?
Aucun commentaire:
Enregistrer un commentaire