Commit 68abdd0b authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Correction for lab 4

parent 19eacaf8
Loading
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -24,13 +24,16 @@ void assertFalse(bool val, std::string failureReport) {
}

// STUBS

#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);
@@ -41,6 +44,9 @@ void e79(); //char* replace_all(const char s[], const char t[], const char u[]);
#endif

// TESTS
#ifdef LAB4

#elifdef LAB3
void testE610() {
  // run the test cases from the book
  int a[]={1,4,9,16,9,7,4,9,11};
@@ -66,6 +72,7 @@ void testE74() {
void testE79() {
  // to do
}
#endif

// MAIN
int main() {