Skip to content
Commit 3e94836a authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Pekka Paalanen
Browse files

tests: add get_double in config-parser tests



weston_config_section_get_double() was not covered with tests before.

This patch follows the testing style already present in the file.

Cannot use ZUC_ASSERT_EQ() here, because that would convert the values
to integers before comparison. Luckily, simple strict equality
comparison works here, because we are testing conversion to float, not
the results of lossy calculations.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 0a38fc7e
Loading
Loading
Loading
Pipeline #531160 passed with stages
in 2 minutes and 50 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment