TEST_F(LocationTest, TerminalLocationSegmentAttr) { loc3->segmentIs(truckSegs[0]); Segment::PtrConst s = loc3->segment(0); EXPECT_EQ(truckSegs[0].ptr(), s.ptr()); }
TEST_F(LocationTest, CustomerLocationSegmentAttr) { loc1->segmentIs(truckSegs[0]); Segment::PtrConst s = loc1->segment(0); EXPECT_EQ(truckSegs[0].ptr(), s.ptr()); }