#include <iostream> #include <cmath> #include "swap.h" using namespace std; int main() { int length1 = 5; int length2 = 7; swap(length1, length2); cout << boolalpha; cout << endl; cout << "testing swap: true's should mean passed: " << endl; cout << "---------------------------------------" << endl; cout << "(length1 == 7): " << (length1 == 7) << endl; cout << "(length2 == 5): " << (length2 == 5) << endl; cout << endl; }