mapnik/test/unit
Mickey Rose d38d16ade9 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
2020-01-02 17:30:24 +01:00
..
color Replace MAPNIK_INIT_PRIORITY workaround 2019-07-02 01:04:31 +03:00
core better tests for logical expressions 2020-01-02 17:30:24 +01:00
data format WKT to be able to test WKT<->WKT round-trip. 2017-05-05 16:28:05 +02:00
datasource Merge pull request #3984 from lightmare/pg-app-name 2019-08-12 12:52:34 +02:00
font geometry.hpp 2017-03-27 16:14:51 +01:00
geometry Add grid placement for text and shield symbolizer 2018-02-06 15:19:05 +00:00
imaging update color-blind filters tests post bac24cd844 2018-02-20 12:05:49 +01:00
map cairo renderer: clear map background with given color as agg renderer does (#3718) 2017-07-04 16:32:45 +02:00
numerics update copyright year 2017-05-05 13:02:01 +02:00
pixel minor unit test cleanups to prepare to test amalgamation 2016-03-03 10:53:58 -08:00
projection Merge branch 'pi-is-wrong' of https://github.com/lightmare/mapnik into lightmare-pi-is-wrong 2018-07-30 10:40:51 +01:00
renderer Cairo: set version of SVG to 1.2 2019-02-08 12:32:01 +00:00
serialization convert args to mapnik::geometry::geometry<std::int64_t> (VS2017) 2017-07-06 16:03:28 +02:00
sql reorganize c++ tests 2015-04-25 22:08:12 +02:00
svg add 'pattern' to unsupported elements + call handle_unsupported on end_element to catch them all + update unit tests 2019-08-08 11:50:31 +01:00
symbolizer Markers point placement: Add some basic tests 2018-05-11 15:39:55 +02:00
text more compact test string initialisation via @talaj (#4096) 2019-11-05 10:55:16 +00:00
util char_array_buffer should implement also seekpos() 2017-11-13 22:42:37 +00:00
vertex_adapter eradicate M_PI 2018-07-16 14:18:49 +02: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