mapnik/test/unit
Mickey Rose 78756a9056 better tests for logical expressions
Two of the original checks were not testing what they were supposed to
test, because the result of eval didn't depend on correct parsing:

    eval("not true or not true")
    correct parse:      ((not true) or (not true)) == false
    incorrect parse:    (not (true or (not true))) == false

    eval("not false and not false")
    correct parse:      ((not false) and (not false)) == true
    incorrect parse:    (not (false and (not false))) == true

(cherry picked from commit d38d16ade9)
2020-01-02 19:32:12 +01:00
..
color minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
core better tests for logical expressions 2020-01-02 19:32:12 +01:00
data add well-known geometries in WKT, WKB, TKWB formats 2016-03-16 15:05:35 +01:00
datasource datasource tests: typos 2018-07-02 11:48:35 +02:00
font minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
geometry Add grid placement for text and shield symbolizer 2018-02-12 17:07:35 +00:00
imaging tiff_reader - use memory mapped files if MAPNIK_MEMORY_MAPPED_FILE is defined (ported from master) 2017-06-15 11:59:47 +02:00
numerics minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
pixel minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
projection proj_transform test: use reference values from cs2cs tool 2018-07-17 11:38:44 +02:00
serialization Don't compile visitor ref #3380 (thanks @lightmare) 2016-04-25 14:58:46 +02:00
sql reorganize c++ tests 2015-04-25 22:08:12 +02:00
svg adapt to spelling fix in svg tests 2017-09-10 10:21:39 -07:00
symbolizer minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
text minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
vertex_adapter Backport #3838 to v3.0.x branch (fixes #3842) 2018-01-25 16:01:39 +01:00
README.md reorganize c++ tests 2015-04-25 22:08:12 +02:00
run.cpp add custom command line options to unit tests - refs philsquared/Catch#381 2016-01-05 17:13:36 -08: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