Loading main.cpp +17 −2 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ #if __has_include("lab3.cpp") #define LAB3 #endif #if __has_include("lab4.cpp") #define LAB4 #endif // HELPERS Loading @@ -21,7 +24,13 @@ void assertFalse(bool val, std::string failureReport) { } // STUBS #ifdef LAB3 #ifdef LAB4 void p88(); void e98(); void p92(); void p94(); void p916(); #elifdef LAB3 // add lab 3 stubs void e61(); void e610(); bool same_elements(int a[], int b[], int size); Loading Loading @@ -60,7 +69,13 @@ void testE79() { // MAIN int main() { #ifdef LAB3 #ifdef LAB4 p88(); e98(); p92(); p94(); p916(); #elifdef LAB3 // lab 3 tests e61(); testE610(); p66(); Loading Loading
main.cpp +17 −2 Original line number Diff line number Diff line Loading @@ -4,6 +4,9 @@ #if __has_include("lab3.cpp") #define LAB3 #endif #if __has_include("lab4.cpp") #define LAB4 #endif // HELPERS Loading @@ -21,7 +24,13 @@ void assertFalse(bool val, std::string failureReport) { } // STUBS #ifdef LAB3 #ifdef LAB4 void p88(); void e98(); void p92(); void p94(); void p916(); #elifdef LAB3 // add lab 3 stubs void e61(); void e610(); bool same_elements(int a[], int b[], int size); Loading Loading @@ -60,7 +69,13 @@ void testE79() { // MAIN int main() { #ifdef LAB3 #ifdef LAB4 p88(); e98(); p92(); p94(); p916(); #elifdef LAB3 // lab 3 tests e61(); testE610(); p66(); Loading