So I'm not sure why these test are failing because if I understand it correctly **after expansion** is what I'm getting. From what I understand it looks like the names are matching up but they don't get added to the **wantedDate** vector Here is the a few of the test errors ```cpp K:/School/CS 1410/AppointmentScheduler/tests/appointment_scheduler_test.cpp:287: Failure: CHECK(appointments.size() == 1) with expansion: 0 == 1 K:/School/CS 1410/AppointmentScheduler/tests/appointment_scheduler_test.cpp:288: Failure: CHECK(appointments.at(0)->GetGroomer().GetFirstName() == "Harry") with expansion: appointments.at(0)->GetGroomer().GetFirstName() == "Harry" due to unexpected exception with message: vector::_M_range_check: __n (which is 0) >= this->size() (which is 0) K:/School/CS 1410/AppointmentScheduler/tests/appointment_scheduler_test.cpp:290: Failure: CHECK(appointments.at(0)->GetGroomer().GetLastName() == "Larson") with expansion: appointments.at(0)->GetGroomer().GetLastName() == "Larson" due to unexpected exception with message: vector::_M_range_check: __n (which is 0) >= this->size() (which is 0) ``` Here is my code ```cpp std::vector> Scheduler::GetAppointmentsByDate(std::string date) { std::string temp = "0:00 am"; std::vector> wantedDate; DateTime d(date, temp); //date 7-8-2023 //Groomer: Harry Larson 869-724-4398 //Owner: Kaine Morton 279-427-2923 //Pet: Abby cat for(auto& z : appointments_) { if(d.GetDate() == date) { wantedDate.push_back(z); }, }, return wantedDate; }, ```
it expected you to return a vector of size 1 but it was size 0, there's not enough context here to say why that is so you'll have to use the debugger or add some printlines and isolate where it's not doing what you expect