#include "Student.h" #include "Roster.h" #include #include "tddFuncs.h" using namespace std; int main() { cout << "Testing class Student..." << endl; Student s1(1234567,"Smith","Malory Logan"); ASSERT_EQUALS(1234567,s1.getPerm()); ASSERT_EQUALS("Smith",s1.getLastName()); ASSERT_EQUALS("Malory Logan",s1.getFirstAndMiddleNames()); ASSERT_EQUALS("Malory Logan Smith",s1.getFullName()); ASSERT_EQUALS("[1234567,Smith,Malory Logan]",s1.toString()); Student s2("7654321,Jones,Peter Mark"); ASSERT_EQUALS(7654321,s2.getPerm()); ASSERT_EQUALS("Jones",s2.getLastName()); ASSERT_EQUALS("Peter Mark",s2.getFirstAndMiddleNames()); return 0; }