aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/colliders
diff options
context:
space:
mode:
authordan miller2007-10-19 05:15:33 +0000
committerdan miller2007-10-19 05:15:33 +0000
commit79eca25c945a535a7a0325999034bae17da92412 (patch)
tree40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/tests/colliders
parentadding ode source to /libraries (diff)
downloadopensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.zip
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.gz
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.bz2
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.xz
resubmitting ode
Diffstat (limited to 'libraries/ode-0.9/tests/colliders')
-rw-r--r--libraries/ode-0.9/tests/colliders/box_sphere.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/ode-0.9/tests/colliders/box_sphere.cpp b/libraries/ode-0.9/tests/colliders/box_sphere.cpp
new file mode 100644
index 0000000..4bfead7
--- /dev/null
+++ b/libraries/ode-0.9/tests/colliders/box_sphere.cpp
@@ -0,0 +1,13 @@
1#include "CppTestHarness.h"
2#include "ode/ode.h"
3
4TEST(BoxSphereIntersection)
5{
6 dGeomID box = dCreateBox(NULL, 1.0f, 1.0f, 1.0f);
7 dGeomID sphere = dCreateSphere(NULL, 1.0f);
8
9 CHECK_EQUAL(1.0, 1.0);
10
11 dGeomDestroy(box);
12 dGeomDestroy(sphere);
13}