diff options
author | m-stephen <truestyle2005@163.com> | 2019-11-01 10:27:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 10:27:03 +0800 |
commit | 9427c04bc709c39f7e083b6d1597aaf33af8c302 (patch) | |
tree | 224fa2bffbc6a81b447c76b98e4c13a51baadc29 /expression-test/test_runner_common.hpp | |
parent | fc2c02bbc6abaef52077fe5e9e78f772e6009967 (diff) | |
parent | 5b38cfee18800cbb3c6a3186882744592662c3d6 (diff) | |
download | qtlocation-mapboxgl-upstream/stephen-improve-accuracy-for-camera.tar.gz |
Merge branch 'master' into stephen-improve-accuracy-for-cameraupstream/stephen-improve-accuracy-for-camera
Diffstat (limited to 'expression-test/test_runner_common.hpp')
-rw-r--r-- | expression-test/test_runner_common.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/expression-test/test_runner_common.hpp b/expression-test/test_runner_common.hpp new file mode 100644 index 0000000000..b30d1a145c --- /dev/null +++ b/expression-test/test_runner_common.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include <mbgl/util/feature.hpp> + +#include <string> +#include <vector> + +using namespace mbgl; + +Value stripPrecision(const Value& value); +std::vector<std::string> tokenize(std::string str); +bool deepEqual(const Value& a, const Value& b); +bool deepEqual(const optional<Value>& a, const optional<Value>& b); |