Lines Matching refs:Vector2d

18   Vector2d i(3, 4);  in TEST()
24 Vector2d int_zero(0, 0); in TEST()
25 Vector2d int_nonzero(2, -2); in TEST()
36 Vector2d i1(3, 5); in TEST()
37 Vector2d i2(4, -1); in TEST()
40 Vector2d expected; in TEST()
41 Vector2d actual; in TEST()
43 { Vector2d(3, 5), i1 + Vector2d() }, in TEST()
44 { Vector2d(3 + 4, 5 - 1), i1 + i2 }, in TEST()
45 { Vector2d(3 - 4, 5 + 1), i1 - i2 } in TEST()
59 { Vector2dF(3.1F, 5.1F), f1 + Vector2d() }, in TEST()
72 Vector2d expected; in TEST()
73 Vector2d actual; in TEST()
75 { Vector2d(0, 0), -Vector2d(0, 0) }, in TEST()
76 { Vector2d(-3, -3), -Vector2d(3, 3) }, in TEST()
77 { Vector2d(3, 3), -Vector2d(-3, -3) }, in TEST()
78 { Vector2d(-3, 3), -Vector2d(3, -3) }, in TEST()
79 { Vector2d(3, -3), -Vector2d(-3, 3) } in TEST()
90 { Vector2dF(0, 0), -Vector2d(0, 0) }, in TEST()
170 Vector2d vector(v0, v1); in TEST()
201 Vector2d a; in TEST()
203 a = Vector2d(3, 5); in TEST()
204 EXPECT_EQ(Vector2d(3, 5).ToString(), a.ToString()); in TEST()
205 a.SetToMax(Vector2d(2, 4)); in TEST()
206 EXPECT_EQ(Vector2d(3, 5).ToString(), a.ToString()); in TEST()
207 a.SetToMax(Vector2d(3, 5)); in TEST()
208 EXPECT_EQ(Vector2d(3, 5).ToString(), a.ToString()); in TEST()
209 a.SetToMax(Vector2d(4, 2)); in TEST()
210 EXPECT_EQ(Vector2d(4, 5).ToString(), a.ToString()); in TEST()
211 a.SetToMax(Vector2d(8, 10)); in TEST()
212 EXPECT_EQ(Vector2d(8, 10).ToString(), a.ToString()); in TEST()
214 a.SetToMin(Vector2d(9, 11)); in TEST()
215 EXPECT_EQ(Vector2d(8, 10).ToString(), a.ToString()); in TEST()
216 a.SetToMin(Vector2d(8, 10)); in TEST()
217 EXPECT_EQ(Vector2d(8, 10).ToString(), a.ToString()); in TEST()
218 a.SetToMin(Vector2d(11, 9)); in TEST()
219 EXPECT_EQ(Vector2d(8, 9).ToString(), a.ToString()); in TEST()
220 a.SetToMin(Vector2d(7, 11)); in TEST()
221 EXPECT_EQ(Vector2d(7, 9).ToString(), a.ToString()); in TEST()
222 a.SetToMin(Vector2d(3, 5)); in TEST()
223 EXPECT_EQ(Vector2d(3, 5).ToString(), a.ToString()); in TEST()
256 Vector2d max_vector(int_max, int_max); in TEST()
257 Vector2d min_vector(int_min, int_min); in TEST()
258 Vector2d test; in TEST()
260 test = Vector2d(); in TEST()
261 test += Vector2d(int_max, int_max); in TEST()
264 test = Vector2d(); in TEST()
265 test += Vector2d(int_min, int_min); in TEST()
268 test = Vector2d(10, 20); in TEST()
269 test += Vector2d(int_max, int_max); in TEST()
272 test = Vector2d(-10, -20); in TEST()
273 test += Vector2d(int_min, int_min); in TEST()
276 test = Vector2d(); in TEST()
277 test -= Vector2d(int_max, int_max); in TEST()
278 EXPECT_EQ(test, Vector2d(-int_max, -int_max)); in TEST()
280 test = Vector2d(); in TEST()
281 test -= Vector2d(int_min, int_min); in TEST()
284 test = Vector2d(10, 20); in TEST()
285 test -= Vector2d(int_min, int_min); in TEST()
288 test = Vector2d(-10, -20); in TEST()
289 test -= Vector2d(int_max, int_max); in TEST()