aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2022-01-19 13:52:51 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2022-02-28 14:47:47 -0600
commitd835d348b3d2ba5e790855dde2d7824234e3c531 (patch)
treee97af5f88bd1bf0444f2681b7bbaab5b6b45be18 /mpm
parent0871ac23092d815ee7db86d3a82d234a28ed8111 (diff)
downloaduhd-d835d348b3d2ba5e790855dde2d7824234e3c531.tar.gz
uhd-d835d348b3d2ba5e790855dde2d7824234e3c531.tar.bz2
uhd-d835d348b3d2ba5e790855dde2d7824234e3c531.zip
convert: Minor cleanup
This commit implements some minor cleanup of various converter- and convert test-related code: * Improves the log messages regarding which converter was returned for a request. * Modifies the result checking code in the converter tests to only report an out-of-range sample error once, rather than reporting every out-of-range sample encountered during the test. This vastly cuts down on the output when a conversion has failed. * Adds a function `reverse_converter()` which, given a `convert::id_type` describing a conversion from C1 to C2, returns a `convert::id_type` describing the reverse conversion (C2 to C1). * Removes two redundant test cases from the converter test.
Diffstat (limited to 'mpm')
0 files changed, 0 insertions, 0 deletions