mapnik/test/unit
Dane Springmeyer 352586e9d7 handle pj_transform HUGE_VAL results (aka inf)
- turns out pj_transform will not always return an error code for
   failed transforms and may instead just set values as HUGE_VAL
 - this commit handles this and calls it an error by return false
   from forward/backward

Arguably if `point_count` > 1 some values might be correctly transformed
while others might be HUGE_VAL. For the purposes of Mapnik we will consider
any HUGE_VAL as an error because we have no way to handle partial failures.
2015-06-10 18:34:11 -07:00
..
core remove spurious std::move's (clang - moving a temporary object prevents copy elision [-Wpessimizing-move]) 2015-06-02 14:26:35 +01:00
data pull data from test-data repo 2015-04-26 20:23:02 +02:00
font u_cleanup is called from unit/run.cpp already [skip ci] 2015-05-22 13:56:59 -07:00
geometry catch and remove more spurious std::move's 2015-06-02 15:36:31 +01:00
imaging disable tiff test on windows - closes #2838 2015-06-03 15:04:50 -07:00
pixel Corrected errors in palette unit test and corrected logic in bounding box projection transform 2015-05-15 12:15:27 -05:00
projection handle pj_transform HUGE_VAL results (aka inf) 2015-06-10 18:34:11 -07:00
serialization fix compile - followup to #2880 2015-06-03 14:16:30 -07:00
sql reorganize c++ tests 2015-04-25 22:08:12 +02:00
symbolizer reorganize c++ tests 2015-04-25 22:08:12 +02:00
vertex_adapter Updated unit test to be correct 2015-06-08 20:32:21 -05:00
README.md reorganize c++ tests 2015-04-25 22:08:12 +02:00
run.cpp fix test compile if cairo is disabled 2015-06-06 12:30:56 -07:00
valgrind.supp ensure clean valgrind run 2015-04-26 23:26:11 +02:00

C++ unit tests

Building

python scons/scons.py test/unit/run

Running

./test/unit/run