Lines Matching refs:box2
52 BoxF box2(0.f, 0.f, 0.f, 4.f, 6.f, 8.f); in TEST() local
58 EXPECT_EQ(box2.ToString(), UnionBoxes(empty_box, box2).ToString()); in TEST()
59 EXPECT_EQ(box2.ToString(), UnionBoxes(box2, empty_box).ToString()); in TEST()
64 EXPECT_EQ(box2.ToString(), UnionBoxes(box1, box2).ToString()); in TEST()
65 EXPECT_EQ(box2.ToString(), UnionBoxes(box2, box1).ToString()); in TEST()
75 UnionBoxes(box2, box3).ToString()); in TEST()
77 UnionBoxes(box3, box2).ToString()); in TEST()
82 BoxF box2(0.f, 0.f, 0.f, 1.f, 1.f, 1.f); in TEST() local
91 BoxF expected2_1 = box2; in TEST()
102 box2.ExpandTo(point1); in TEST()
103 EXPECT_EQ(expected2_1.ToString(), box2.ToString()); in TEST()
104 box2.ExpandTo(point2); in TEST()
105 EXPECT_EQ(expected2_2.ToString(), box2.ToString()); in TEST()
121 BoxF box2 = box1; in TEST() local
122 box2.Scale(0.f); in TEST()
123 EXPECT_EQ(BoxF().ToString(), box2.ToString()); in TEST()
125 box2 = box1; in TEST()
126 box2.Scale(1.f); in TEST()
127 EXPECT_EQ(box1.ToString(), box2.ToString()); in TEST()
129 box2.Scale(2.f, 4.f, 6.f); in TEST()
131 box2.ToString()); in TEST()
166 BoxF box2 = box1; in TEST() local
167 box2 += Vector3dF(0.f, 0.f, 0.f); in TEST()
168 EXPECT_EQ(box1.ToString(), box2.ToString()); in TEST()
170 box2 += Vector3dF(1.f, -2.f, -4.f); in TEST()
172 box2.ToString()); in TEST()