• Home
  • Raw
  • Download

Lines Matching refs:VERIFY_IS_APPROX

52   VERIFY_IS_APPROX(b0.center(),(p0+p1)/Scalar(2));  in alignedbox()
57 VERIFY_IS_APPROX(b2.clamp(b0), b0); in alignedbox()
106 VERIFY_IS_APPROX(hp1f.template cast<Scalar>(),b0); in alignedboxCastTests()
108 VERIFY_IS_APPROX(hp1d.template cast<Scalar>(),b0); in alignedboxCastTests()
121 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest1()
122 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest1()
123 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest1()
124 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest1()
126 VERIFY_IS_APPROX( 14.0f, box.volume() ); in specificTest1()
127 VERIFY_IS_APPROX( 53.0f, box.diagonal().squaredNorm() ); in specificTest1()
128 VERIFY_IS_APPROX( std::sqrt( 53.0f ), box.diagonal().norm() ); in specificTest1()
130 VERIFY_IS_APPROX( m, box.corner( BoxType::BottomLeft ) ); in specificTest1()
131 VERIFY_IS_APPROX( M, box.corner( BoxType::TopRight ) ); in specificTest1()
134 VERIFY_IS_APPROX( bottomRight, box.corner( BoxType::BottomRight ) ); in specificTest1()
135 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) ); in specificTest1()
148 VERIFY_IS_APPROX(sides, box.sizes() ); in specificTest2()
149 VERIFY_IS_APPROX(sides[1], box.sizes()[1] ); in specificTest2()
150 VERIFY_IS_APPROX(sides[1], box.sizes().maxCoeff() ); in specificTest2()
151 VERIFY_IS_APPROX(sides[0], box.sizes().minCoeff() ); in specificTest2()
153 VERIFY_IS_APPROX( 42, box.volume() ); in specificTest2()
154 VERIFY_IS_APPROX( 62, box.diagonal().squaredNorm() ); in specificTest2()
156 VERIFY_IS_APPROX( m, box.corner( BoxType::BottomLeftFloor ) ); in specificTest2()
157 VERIFY_IS_APPROX( M, box.corner( BoxType::TopRightCeil ) ); in specificTest2()
160 VERIFY_IS_APPROX( bottomRightFloor, box.corner( BoxType::BottomRightFloor ) ); in specificTest2()
161 VERIFY_IS_APPROX( topLeftFloor, box.corner( BoxType::TopLeftFloor ) ); in specificTest2()