assignment4/test.cpp