libsigrok/tests
Gerhard Sittig 6205515cc8 tests/analog: add more tests for analog feed to float array conversion
Extend test coverage for the sr_analog_to_float() conversion routine.
Pass data which is encoded in native, little and big endian format to
the routine. Pass single and double precision floating point data, and
integer data in different unit sizes and signedness. Cover scale/offset
calculations as well.

Also cover expected failed conversion for unsupported combinations of
input data format details (half/quad precision float, u64 integer).

Adjust the grouping of test cases in the sequence while we are here.
Move SI prefix, unit, and rational number related tests out of the
analog-to-float conversion group.
2020-09-18 16:42:37 +02:00
..
analog.c tests/analog: add more tests for analog feed to float array conversion 2020-09-18 16:42:37 +02:00
conv.c tests: extend endianess conversion tests to also cover inline routines 2020-05-29 06:12:33 +02:00
core.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
device.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
driver_all.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
input_all.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
input_binary.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
lib.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
lib.h tests: also cover endianess conversion helpers 2020-05-29 06:09:47 +02:00
main.c tests: also cover endianess conversion helpers 2020-05-29 06:09:47 +02:00
output_all.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
session.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
strutil.c tests: strutil, use ck_assert 2020-09-15 08:56:21 +02:00
transform_all.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
trigger.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00
version.c license: remove FSF postal address from boiler plate license text 2017-01-07 16:05:39 +01:00