Lines Matching refs:m1
43 mat4 m1(2); in TEST_F() local
46 EXPECT_TRUE(m0 != m1); in TEST_F()
48 EXPECT_FALSE(m0 == m1); in TEST_F()
70 mat4 m1(2); in TEST_F() local
74 EXPECT_EQ(m1, m2); in TEST_F()
76 EXPECT_EQ(m3, m1); in TEST_F()
79 EXPECT_NE(m4, m1); in TEST_F()
84 mat4 m1(2); in TEST_F() local
87 m1 += m2; in TEST_F()
88 EXPECT_EQ(mat4(4), m1); in TEST_F()
90 m2 -= m1; in TEST_F()
93 m1 *= 2; in TEST_F()
94 EXPECT_EQ(mat4(8), m1); in TEST_F()
96 m1 /= 2; in TEST_F()
97 EXPECT_EQ(mat4(4), m1); in TEST_F()
122 mat4 m1(vec4(1, 2, 3, 4), vec4(5, 6, 7, 8), vec4(9, 10, 11, 12), vec4(13, 14, 15, 16)); in TEST_F() local
124 EXPECT_EQ(m1, transpose(m2)); in TEST_F()
125 EXPECT_EQ(m2, transpose(m1)); in TEST_F()
126 EXPECT_EQ(vec4(1, 6, 11, 16), diag(m1)); in TEST_F()
143 EXPECT_EQ(m1, m1*identity); in TEST_F()
148 EXPECT_FLOAT_EQ(m1[c][r], m1(r, c)); in TEST_F()
181 mat3 m1(2); in TEST_F() local
184 EXPECT_TRUE(m0 != m1); in TEST_F()
186 EXPECT_FALSE(m0 == m1); in TEST_F()
201 mat3 m1(2); in TEST_F() local
205 EXPECT_EQ(m1, m2); in TEST_F()
207 EXPECT_EQ(m3, m1); in TEST_F()
212 mat3 m1(2); in TEST_F() local
215 m1 += m2; in TEST_F()
216 EXPECT_EQ(mat3(4), m1); in TEST_F()
218 m2 -= m1; in TEST_F()
221 m1 *= 2; in TEST_F()
222 EXPECT_EQ(mat3(8), m1); in TEST_F()
224 m1 /= 2; in TEST_F()
225 EXPECT_EQ(mat3(4), m1); in TEST_F()
249 mat3 m1(vec3(1, 2, 3), vec3(4, 5, 6), vec3(7, 8, 9)); in TEST_F() local
251 EXPECT_EQ(m1, transpose(m2)); in TEST_F()
252 EXPECT_EQ(m2, transpose(m1)); in TEST_F()
253 EXPECT_EQ(vec3(1, 5, 9), diag(m1)); in TEST_F()
270 EXPECT_EQ(m1, m1*identity); in TEST_F()
288 mat2 m1(2); in TEST_F() local
291 EXPECT_TRUE(m0 != m1); in TEST_F()
293 EXPECT_FALSE(m0 == m1); in TEST_F()
303 mat2 m1(2); in TEST_F() local
307 EXPECT_EQ(m1, m2); in TEST_F()
309 EXPECT_EQ(m3, m1); in TEST_F()
314 mat2 m1(2); in TEST_F() local
317 m1 += m2; in TEST_F()
318 EXPECT_EQ(mat2(4), m1); in TEST_F()
320 m2 -= m1; in TEST_F()
323 m1 *= 2; in TEST_F()
324 EXPECT_EQ(mat2(8), m1); in TEST_F()
326 m1 /= 2; in TEST_F()
327 EXPECT_EQ(mat2(4), m1); in TEST_F()
350 mat2 m1(vec2(1, 2), vec2(3, 4)); in TEST_F() local
352 EXPECT_EQ(m1, transpose(m2)); in TEST_F()
353 EXPECT_EQ(m2, transpose(m1)); in TEST_F()
354 EXPECT_EQ(vec2(1, 4), diag(m1)); in TEST_F()
358 EXPECT_EQ(m1, m1*identity); in TEST_F()
390 M44T m1(1, 0, 0, 0, in TYPED_TEST() local
417 TEST_MATRIX_INVERSE(m1, 0); in TYPED_TEST()
428 M33T m1(1, 0, 0, in TYPED_TEST() local
450 TEST_MATRIX_INVERSE(m1, 0); in TYPED_TEST()
461 M22T m1(1, 0, in TYPED_TEST() local
475 TEST_MATRIX_INVERSE(m1, 0); in TYPED_TEST()