Philip Withnall
6129f6f244
tests: Use correct numeric comparison assertions in param tests
...
There were various places where (signed or unsigned) integer assertions
were being used to compare `double` or `float` values, resulting in an
implicit integer conversion.
This causes a warning when building with `-Wfloat-conversion`.
Improve the specificity of the tests by using the most-specific numeric
assertions through all `param` tests.
For the conversion tests, this means using the assertion function
associated with the target type, not the source type.
Signed-off-by: Philip Withnall <pwithnall@gnome.org >
Helps: #3405
2024-06-28 14:38:22 +01:00
..
2024-03-18 13:56:03 +00:00
2022-06-01 12:17:28 +01:00
2022-11-02 12:34:19 +00:00
2022-06-01 12:17:28 +01:00
2022-06-21 12:50:31 +01:00
2022-08-09 13:18:47 -05:00
2022-06-01 12:17:28 +01:00
2023-12-31 09:09:48 +00:00
2022-11-02 12:34:19 +00:00
2014-05-30 10:22:35 -04:00
2022-11-02 12:35:45 +00:00
2022-06-01 12:44:23 +01:00
2022-06-01 12:17:28 +01:00
2022-06-01 12:17:28 +01:00
2022-09-21 10:27:55 +01:00
2022-11-02 12:34:19 +00:00
2023-07-30 11:25:42 +03:00
2022-06-30 01:46:54 +01:00
2022-06-01 12:17:28 +01:00
2023-11-07 13:51:56 +00:00
2023-11-07 13:51:56 +00:00
2022-06-01 12:17:28 +01:00
2022-05-26 19:13:19 +01:00
2022-10-27 14:50:48 +01:00
2024-03-19 13:01:26 +00:00
2023-11-21 11:54:42 +00:00
2022-11-02 12:34:19 +00:00
2022-11-02 12:34:19 +00:00
2022-05-28 08:02:16 -04:00
2022-12-16 20:48:06 +01:00
2022-05-26 18:37:35 +01:00
2022-06-01 12:17:28 +01:00
2024-06-28 14:38:22 +01:00
2020-07-27 15:41:09 +01:00
2023-12-19 22:48:03 +00:00
2022-05-26 18:37:35 +01:00
2022-05-26 18:37:35 +01:00
2022-05-31 15:21:46 +01:00
2022-05-26 18:37:35 +01:00
2022-10-24 10:47:35 +01:00
2022-06-01 12:44:23 +01:00
2024-02-02 14:49:09 +01:00
2024-01-31 12:42:02 +01:00
2022-06-21 12:57:33 +01:00
2023-11-01 10:53:55 +00:00
2022-05-31 15:21:46 +01:00
2023-10-04 14:50:54 +01:00
2022-07-05 11:06:49 +00:00
2022-05-17 17:23:34 +01:00
2022-06-01 12:17:28 +01:00
2022-07-05 11:06:49 +00:00
2022-06-01 12:17:28 +01:00
2022-06-01 12:17:28 +01:00
2024-02-13 08:52:15 +00:00
2023-10-04 14:50:54 +01:00
2023-07-30 13:51:00 +03:00
2023-11-04 10:40:30 +00:00