Commit a5c09696 authored by jpan's avatar jpan
Browse files

add the first gtest.


git-svn-id: https://kforge.ros.org/fcl/fcl_ros@182 253336fb-580f-4252-a368-f3cef5a2a82b
parent d201b08d
......@@ -85,3 +85,12 @@ install(DIRECTORY include/ DESTINATION include
)
install(FILES "${pkg_conf_file}" DESTINATION lib/pkgconfig/ COMPONENT pkgconfig)
enable_testing()
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})
add_executable(test_fcl_collision test/test_fcl_collision.cpp test/test_fcl_utility.cpp)
target_link_libraries(test_fcl_collision ${PROJECT_NAME} ${GTEST_BOTH_LIBRARIES})
GTEST_ADD_TESTS(test_fcl_collision "" test/test_fcl_collision.cpp)
all:
mkdir -p build
cd build && cmake .. && make
clean:
-cd build && make clean
rm -rf build
test: all
if cd build && make -k $@; then make test-results; else make test-results && exit 1; fi
This diff is collapsed.
648 216
v -500 -395 375
v 500 -395 375
v 462 -203.6 375
v -500 -395 375
v 462 -203.6 375
v 353.5 -41.5 375
v -500 -395 375
v 353.5 -41.5 375
v 191.4 66.4 375
v -500 -395 375
v 191.4 66.4 375
v -500 66.4 375
v -500 66.4 75
v 191.4 66.4 75
v 353.5 -41.5 75
v -500 66.4 75
v 353.5 -41.5 75
v 462 -203.6 75
v -500 66.4 75
v 462 -203.6 75
v 500 -395 75
v -500 66.4 75
v 500 -395 75
v -500 -395 75
v -500 -395 375
v -500 -395 75
v 500 -395 75
v -500 -395 375
v 500 -395 75
v 500 -395 375
v 500 -395 375
v 500 -395 75
v 462 -203.6 75
v 500 -395 375
v 462 -203.6 75
v 462 -203.6 375
v 462 -203.6 375
v 462 -203.6 75
v 353.5 -41.5 75
v 462 -203.6 375
v 353.5 -41.5 75
v 353.5 -41.5 375
v 353.5 -41.5 375
v 353.5 -41.5 75
v 191.4 66.4 75
v 353.5 -41.5 375
v 191.4 66.4 75
v 191.4 66.4 375
v 191.4 66.4 375
v 191.4 66.4 75
v -500 66.4 75
v 191.4 66.4 375
v -500 66.4 75
v -500 66.4 375
v -500 66.4 375
v -500 66.4 75
v -500 -395 75
v -500 66.4 375
v -500 -395 75
v -500 -395 375
v -500 66.4 375
v 191.4 66.4 375
v -38 296.4 375
v -500 66.4 375
v -38 296.4 375
v -500 296.4 375
v -500 296.4 75
v -38 296.4 75
v 191.4 66.4 75
v -500 296.4 75
v 191.4 66.4 75
v -500 66.4 75
v -500 66.4 375
v -500 66.4 75
v 191.4 66.4 75
v -500 66.4 375
v 191.4 66.4 75
v 191.4 66.4 375
v 191.4 66.4 375
v 191.4 66.4 75
v -38 296.4 75
v 191.4 66.4 375
v -38 296.4 75
v -38 296.4 375
v -38 296.4 375
v -38 296.4 75
v -500 296.4 75
v -38 296.4 375
v -500 296.4 75
v -500 296.4 375
v -500 296.4 375
v -500 296.4 75
v -500 66.4 75
v -500 296.4 375
v -500 66.4 75
v -500 66.4 375
v -500 296.4 375
v -38 296.4 375
v -146.5 458.6 375
v -500 296.4 375
v -146.5 458.6 375
v -308.7 566.4 375
v -500 296.4 375
v -308.7 566.4 375
v -500 605 375
v -500 605 75
v -308.7 566.4 75
v -146.5 458.6 75
v -500 605 75
v -146.5 458.6 75
v -38 296.4 75
v -500 605 75
v -38 296.4 75
v -500 296.4 75
v -500 296.4 375
v -500 296.4 75
v -38 296.4 75
v -500 296.4 375
v -38 296.4 75
v -38 296.4 375
v -38 296.4 375
v -38 296.4 75
v -146.5 458.6 75
v -38 296.4 375
v -146.5 458.6 75
v -146.5 458.6 375
v -146.5 458.6 375
v -146.5 458.6 75
v -308.7 566.4 75
v -146.5 458.6 375
v -308.7 566.4 75
v -308.7 566.4 375
v -308.7 566.4 375
v -308.7 566.4 75
v -500 605 75
v -308.7 566.4 375
v -500 605 75
v -500 605 375
v -500 605 375
v -500 605 75
v -500 296.4 75
v -500 605 375
v -500 296.4 75
v -500 296.4 375
v -500 -595 175
v 500 -595 175
v -500 -395 175
v -500 -395 175
v 500 -595 175
v 500 -395 175
v 500 -595 75
v -500 -595 75
v 500 -395 75
v 500 -395 75
v -500 -595 75
v -500 -395 75
v 500 -595 175
v 500 -595 75
v 500 -395 175
v 500 -395 175
v 500 -595 75
v 500 -395 75
v -500 -595 75
v -500 -595 175
v -500 -395 75
v -500 -395 75
v -500 -595 175
v -500 -395 175
v -500 -395 75
v -500 -395 175
v 500 -395 75
v 500 -395 75
v -500 -395 175
v 500 -395 175
v -500 -595 75
v 500 -595 75
v -500 -595 175
v -500 -595 175
v 500 -595 75
v 500 -595 175
v -500 -605 195
v 500 -605 195
v -500 -395 195
v -500 -395 195
v 500 -605 195
v 500 -395 195
v 500 -605 175
v -500 -605 175
v 500 -395 175
v 500 -395 175
v -500 -605 175
v -500 -395 175
v 500 -605 195
v 500 -605 175
v 500 -395 195
v 500 -395 195
v 500 -605 175
v 500 -395 175
v -500 -605 175
v -500 -605 195
v -500 -395 175
v -500 -395 175
v -500 -605 195
v -500 -395 195
v -500 -395 175
v -500 -395 195
v 500 -395 175
v 500 -395 175
v -500 -395 195
v 500 -395 195
v -500 -605 175
v 500 -605 175
v -500 -605 195
v -500 -605 195
v 500 -605 175
v 500 -605 195
v -430 -495 75
v -431.522 -487.346 75
v -430 -495 -425
v -430 -495 -425
v -431.522 -487.346 75
v -431.522 -487.346 -425
v -431.522 -487.346 75
v -435.858 -480.858 75
v -431.522 -487.346 -425
v -431.522 -487.346 -425
v -435.858 -480.858 75
v -435.858 -480.858 -425
v -435.858 -480.858 75
v -442.346 -476.522 75
v -435.858 -480.858 -425
v -435.858 -480.858 -425
v -442.346 -476.522 75
v -442.346 -476.522 -425
v -442.346 -476.522 75
v -450 -475 75
v -442.346 -476.522 -425
v -442.346 -476.522 -425
v -450 -475 75
v -450 -475 -425
v -450 -475 75
v -457.654 -476.522 75
v -450 -475 -425
v -450 -475 -425
v -457.654 -476.522 75
v -457.654 -476.522 -425
v -457.654 -476.522 75
v -464.142 -480.858 75
v -457.654 -476.522 -425
v -457.654 -476.522 -425
v -464.142 -480.858 75
v -464.142 -480.858 -425
v -464.142 -480.858 75
v -468.478 -487.346 75
v -464.142 -480.858 -425
v -464.142 -480.858 -425
v -468.478 -487.346 75
v -468.478 -487.346 -425
v -468.478 -487.346 75
v -470 -495 75
v -468.478 -487.346 -425
v -468.478 -487.346 -425
v -470 -495 75
v -470 -495 -425
v -470 -495 75
v -468.478 -502.654 75
v -470 -495 -425
v -470 -495 -425
v -468.478 -502.654 75
v -468.478 -502.654 -425
v -468.478 -502.654 75
v -464.142 -509.142 75
v -468.478 -502.654 -425
v -468.478 -502.654 -425
v -464.142 -509.142 75
v -464.142 -509.142 -425
v -464.142 -509.142 75
v -457.654 -513.478 75
v -464.142 -509.142 -425
v -464.142 -509.142 -425
v -457.654 -513.478 75
v -457.654 -513.478 -425
v -457.654 -513.478 75
v -450 -515 75
v -457.654 -513.478 -425
v -457.654 -513.478 -425
v -450 -515 75
v -450 -515 -425
v -450 -515 75
v -442.346 -513.478 75
v -450 -515 -425
v -450 -515 -425
v -442.346 -513.478 75
v -442.346 -513.478 -425
v -442.346 -513.478 75
v -435.858 -509.142 75
v -442.346 -513.478 -425
v -442.346 -513.478 -425
v -435.858 -509.142 75
v -435.858 -509.142 -425
v -435.858 -509.142 75
v -431.522 -502.654 75
v -435.858 -509.142 -425
v -435.858 -509.142 -425
v -431.522 -502.654 75
v -431.522 -502.654 -425
v -431.522 -502.654 75
v -430 -495 75
v -431.522 -502.654 -425
v -431.522 -502.654 -425
v -430 -495 75
v -430 -495 -425
v 470 -495 75
v 468.478 -487.346 75
v 470 -495 -425
v 470 -495 -425
v 468.478 -487.346 75
v 468.478 -487.346 -425
v 468.478 -487.346 75
v 464.142 -480.858 75
v 468.478 -487.346 -425
v 468.478 -487.346 -425
v 464.142 -480.858 75
v 464.142 -480.858 -425
v 464.142 -480.858 75
v 457.654 -476.522 75
v 464.142 -480.858 -425
v 464.142 -480.858 -425
v 457.654 -476.522 75
v 457.654 -476.522 -425
v 457.654 -476.522 75
v 450 -475 75
v 457.654 -476.522 -425
v 457.654 -476.522 -425
v 450 -475 75
v 450 -475 -425
v 450 -475 75
v 442.346 -476.522 75
v 450 -475 -425
v 450 -475 -425
v 442.346 -476.522 75
v 442.346 -476.522 -425
v 442.346 -476.522 75
v 435.858 -480.858 75
v 442.346 -476.522 -425
v 442.346 -476.522 -425
v 435.858 -480.858 75
v 435.858 -480.858 -425
v 435.858 -480.858 75
v 431.522 -487.346 75
v 435.858 -480.858 -425
v 435.858 -480.858 -425
v 431.522 -487.346 75
v 431.522 -487.346 -425
v 431.522 -487.346 75
v 430 -495 75
v 431.522 -487.346 -425
v 431.522 -487.346 -425
v 430 -495 75
v 430 -495 -425
v 430 -495 75
v 431.522 -502.654 75
v 430 -495 -425
v 430 -495 -425
v 431.522 -502.654 75
v 431.522 -502.654 -425
v 431.522 -502.654 75
v 435.858 -509.142 75
v 431.522 -502.654 -425
v 431.522 -502.654 -425
v 435.858 -509.142 75
v 435.858 -509.142 -425
v 435.858 -509.142 75
v 442.346 -513.478 75
v 435.858 -509.142 -425
v 435.858 -509.142 -425
v 442.346 -513.478 75
v 442.346 -513.478 -425
v 442.346 -513.478 75
v 450 -515 75
v 442.346 -513.478 -425
v 442.346 -513.478 -425
v 450 -515 75
v 450 -515 -425
v 450 -515 75
v 457.654 -513.478 75
v 450 -515 -425
v 450 -515 -425
v 457.654 -513.478 75
v 457.654 -513.478 -425
v 457.654 -513.478 75
v 464.142 -509.142 75
v 457.654 -513.478 -425
v 457.654 -513.478 -425
v 464.142 -509.142 75
v 464.142 -509.142 -425
v 464.142 -509.142 75
v 468.478 -502.654 75
v 464.142 -509.142 -425
v 464.142 -509.142 -425
v 468.478 -502.654 75
v 468.478 -502.654 -425
v 468.478 -502.654 75
v 470 -495 75
v 468.478 -502.654 -425
v 468.478 -502.654 -425
v 470 -495 75
v 470 -495 -425
v -380 505 75
v -381.522 512.654 75
v -380 505 -425
v -380 505 -425
v -381.522 512.654 75
v -381.522 512.654 -425
v -381.522 512.654 75
v -385.858 519.142 75
v -381.522 512.654 -425
v -381.522 512.654 -425
v -385.858 519.142 75
v -385.858 519.142 -425
v -385.858 519.142 75
v -392.346 523.478 75
v -385.858 519.142 -425
v -385.858 519.142 -425
v -392.346 523.478 75
v -392.346 523.478 -425
v -392.346 523.478 75
v -400 525 75
v -392.346 523.478 -425
v -392.346 523.478 -425
v -400 525 75
v -400 525 -425
v -400 525 75
v -407.654 523.478 75
v -400 525 -425
v -400 525 -425
v -407.654 523.478 75
v -407.654 523.478 -425
v -407.654 523.478 75
v -414.142 519.142 75
v -407.654 523.478 -425
v -407.654 523.478 -425
v -414.142 519.142 75
v -414.142 519.142 -425
v -414.142 519.142 75
v -418.478 512.654 75
v -414.142 519.142 -425
v -414.142 519.142 -425
v -418.478 512.654 75
v -418.478 512.654 -425
v -418.478 512.654 75
v -420 505 75
v -418.478 512.654 -425
v -418.478 512.654 -425
v -420 505 75
v -420 505 -425
v -420 505 75
v -418.478 497.346 75
v -420 505 -425
v -420 505 -425
v -418.478 497.346 75
v -418.478 497.346 -425
v -418.478 497.346 75
v -414.142 490.858 75
v -418.478 497.346 -425
v -418.478 497.346 -425
v -414.142 490.858 75
v -414.142 490.858 -425
v -414.142 490.858 75
v -407.654 486.522 75
v -414.142 490.858 -425
v -414.142 490.858 -425
v -407.654 486.522 75
v -407.654 486.522 -425
v -407.654 486.522 75
v -400 485 75
v -407.654 486.522 -425
v -407.654 486.522 -425
v -400 485 75
v -400 485 -425
v -400 485 75
v -392.346 486.522 75
v -400 485 -425
v -400 485 -425
v -392.346 486.522 75
v -392.346 486.522 -425
v -392.346 486.522 75
v -385.858 490.858 75
v -392.346 486.522 -425
v -392.346 486.522 -425
v -385.858 490.858 75
v -385.858 490.858 -425
v -385.858 490.858 75
v -381.522 497.346 75
v -385.858 490.858 -425
v -385.858 490.858 -425
v -381.522 497.346 75
v -381.522 497.346 -425
v -381.522 497.346 75
v -380 505 75
v -381.522 497.346 -425
v -381.522 497.346 -425
v -380 505 75
v -380 505 -425
v -500 -395 425
v 500 -395 425
v 462 -203.6 425
v -500 -395 425
v 462 -203.6 425
v 353.5 -41.5 425
v -500 -395 425
v 353.5 -41.5 425
v 191.4 66.4 425
v -500 -395 425
v 191.4 66.4 425
v -500 66.4 425
v -500 66.4 375
v 191.4 66.4 375
v 353.5 -41.5 375
v -500 66.4 375
v 353.5 -41.5 375
v 462 -203.6 375
v -500 66.4 375
v 462 -203.6 375
v 500 -395 375
v -500 66.4 375
v 500 -395 375
v -500 -395 375
v -500 -395 425
v -500 -395 375
v 500 -395 375
v -500 -395 425
v 500 -395 375
v 500 -395 425
v 500 -395 425
v 500 -395 375
v 462 -203.6 375
v 500 -395 425
v 462 -203.6 375
v 462 -203.6 425
v 462 -203.6 425
v 462 -203.6 375
v 353.5 -41.5 375
v 462 -203.6 425
v 353.5 -41.5 375
v 353.5 -41.5 425
v 353.5 -41.5 425
v 353.5 -41.5 375
v 191.4 66.4 375
v 353.5 -41.5 425
v 191.4 66.4 375
v 191.4 66.4 425
v 191.4 66.4 425
v 191.4 66.4 375
v -500 66.4 375
v 191.4 66.4 425
v -500 66.4 375
v -500 66.4 425
v -500 66.4 425
v -500 66.4 375
v -500 -395 375
v -500 66.4 425
v -500 -395 375
v -500 -395 425
v -500 66.4 425
v 191.4 66.4 425
v -38 296.4 425
v -500 66.4 425
v -38 296.4 425
v -500 296.4 425
v -500 296.4 375
v -38 296.4 375
v 191.4 66.4 375
v -500 296.4 375
v 191.4 66.4 375
v -500 66.4 375
v -500 66.4 425
v -500 66.4 375
v 191.4 66.4 375
v -500 66.4 425
v 191.4 66.4 375
v 191.4 66.4 425
v 191.4 66.4 425
v 191.4 66.4 375
v -38 296.4 375
v 191.4 66.4 425
v -38 296.4 375
v -38 296.4 425
v -38 296.4 425
v -38 296.4 375
v -500 296.4 375
v -38 296.4 425
v -500 296.4 375
v -500 296.4 425
v -500 296.4 425
v -500 296.4 375
v -500 66.4 375
v -500 296.4 425
v -500 66.4 375
v -500 66.4 425
v -500 296.4 425
v -38 296.4 425
v -146.5 458.6 425
v -500 296.4 425
v -146.5 458.6 425
v -308.7 566.4 425
v -500 296.4 425
v -308.7 566.4 425
v -500 605 425
v -500 605 375
v -308.7 566.4 375
v -146.5 458.6 375
v -500 605 375
v -146.5 458.6 375
v -38 296.4 375
v -500 605 375
v -38 296.4 375
v -500 296.4 375
v -500 296.4 425
v -500 296.4 375
v -38 296.4 375
v -500 296.4 425
v -38 296.4 375
v -38 296.4 425
v -38 296.4 425
v -38 296.4 375
v -146.5 458.6 375
v -38 296.4 425
v -146.5 458.6 375
v -146.5 458.6 425
v -146.5 458.6 425
v -146.5 458.6 375