Mathis Logemann
6dcf754077
format dir test
...
format dir test
fix
2022-01-27 00:12:12 +01:00
Artem Pavlenko
6fa2666747
Add convertion functions from_u8string
to support c++20 + update tests
2021-05-17 16:11:44 +01:00
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
Artem Pavlenko
735acb297a
add (uncomment) surrogate pairs test + small typo fix
2018-07-02 21:55:27 +02:00
Artem Pavlenko
df0ba4a777
add more single/double quotes tests
2018-07-02 16:42:35 +02:00
Artem Pavlenko
2977688a8a
test for single and double quoted escaped strings (regex) (ref 3433397c30 (commitcomment-29512684)
)
2018-07-02 15:10:28 +02:00
Mickey Rose
5544c4c74f
expressions_test: add test for unicode attribute name
...
Refs #1153
That issue doesn't affect current master, maybe it was valid at the time
of posting. I just couldn't find a test that'd confirm unicode in
attribute names actually works, so here it is.
2018-06-27 11:58:56 +02:00
Mickey Rose
6befc23101
expressions_test: change properties_type to std::map
2018-06-27 11:56:36 +02:00
artemp
3433397c30
test (expressions) - add more tests (ref #3616 )
2017-03-06 15:59:07 +01:00
artemp
243963fc2b
expression_test - add tests for arbitrary space in mapnik::geometry_type attributes
2017-01-10 11:57:54 +01:00
bergwerkgis
74d7726b2d
remove unneeded 'u8'
2016-08-12 05:27:55 +00:00
artemp
2afae2a29b
Expressions - more tests (ref #3483 )
2016-08-09 16:25:59 +01:00
artemp
aa77eb4550
Expressions - add more regex tests to cover #3483
2016-08-09 16:13:12 +01:00
Jiri Drbalek
c1ab5c8e6c
add support for natural logarithm function in expressions
2016-08-01 12:58:21 +00:00
mapsam
c1b1e3d8f9
concatenating strings & values currently fails
2016-03-31 15:36:47 -07:00
Mickey Rose
344e62e7db
expressions_test: add empty string round-trip check
2016-03-15 00:26:21 +01:00
Dane Springmeyer
fde36984de
minor unit test cleanups to prepare to test amalgamation
2016-03-03 10:53:58 -08:00
artemp
c044b6d073
add relevant empty string/null equality ref #1859 #3255
2016-02-25 11:21:07 +01:00
Mickey Rose
f19b8e8eff
test/expressions: add checks for backslash-escapes in strings
2016-02-15 02:23:19 +01:00
Mickey Rose
ae39d48b86
test/expressions: add checks for logical operator precedence
2016-02-06 14:26:57 +01:00
Mickey Rose
5764d619f3
expressions test: move expression strings into Catch calls, continue on failure
2016-02-05 17:22:01 +01:00
Mickey Rose
53bb55eade
rename expresssions_test.cpp, didn't pass spell check
2016-02-05 17:22:01 +01:00