Lines Matching refs:VERIFY_IS_APPROX
36 VERIFY_IS_APPROX(-(-m1), m1);
37 VERIFY_IS_APPROX(m1+m1, 2*m1);
38 VERIFY_IS_APPROX(m1+m2-m1, m2);
39 VERIFY_IS_APPROX(-m2+m1+m2, m1);
40 VERIFY_IS_APPROX(m1*s1, s1*m1);
41 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2);
42 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2);
44 VERIFY_IS_APPROX(m3, m1+m2);
46 VERIFY_IS_APPROX(m3, m2-m1);
48 VERIFY_IS_APPROX(m3, s1*m2);
52 VERIFY_IS_APPROX(m3, m2/s1);
56 VERIFY_IS_APPROX((-m1)(r,c), -(m1(r,c)));
57 VERIFY_IS_APPROX((m1-m2)(r,c), (m1(r,c))-(m2(r,c)));
58 VERIFY_IS_APPROX((m1+m2)(r,c), (m1(r,c))+(m2(r,c)));
59 VERIFY_IS_APPROX((s1*m1)(r,c), s1*(m1(r,c)));
60 VERIFY_IS_APPROX((m1*s1)(r,c), (m1(r,c))*s1);
62 VERIFY_IS_APPROX((m1/s1)(r,c), (m1(r,c))/s1);
65 VERIFY_IS_APPROX(m1+m1.block(0,0,rows,cols), m1+m1);
66 VERIFY_IS_APPROX(m1.cwise() * m1.block(0,0,rows,cols), m1.cwise() * m1);
67 VERIFY_IS_APPROX(m1 - m1.block(0,0,rows,cols), m1 - m1);
68 VERIFY_IS_APPROX(m1.block(0,0,rows,cols) * s1, m1 * s1);