WVPASSEQ_DOUBLE(11, bc->ccr()->x(), 0.00001);
WVPASSEQ_DOUBLE(1, bc->ccr()->y(), 0.00001);
+ // drivable
+ WVPASS(!bc->drivable(bc->ccl()));
+ WVPASS(!bc->drivable(bc->ccr()));
+ BicycleCar *bc2 = new BicycleCar();
+ bc2->x(1);
+ bc2->y(2);
+ bc2->h(M_PI / 2);
+ bc2->mtr(10);
+ bc2->wb(2);
+ bc2->w(1);
+ bc2->l(3);
+ bc2->he(1.5);
+ bc2->df(2 + 0.5);
+ bc2->dr(0.5);
+ WVPASS(bc->drivable(bc2));
+ bc2->y(-2);
+ WVPASS(bc->drivable(bc2));
+
// moving
bc->sp(1);
bc->st(0);