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