]> sigrok.org Git - libsigrok.git/commit
tests: adjust test coverage for power of two and input value 0
authorGerhard Sittig <redacted>
Thu, 21 Dec 2023 20:22:43 +0000 (21:22 +0100)
committerGerhard Sittig <redacted>
Thu, 21 Dec 2023 20:34:24 +0000 (21:34 +0100)
commit87e738be5134dbd48e724075fab88589f3bf7f71
tree12e4235fac2274babae907b26bbe6d94d990c8c1
parentc3ada48afce7626a980c89e66d592a4242362c57
tests: adjust test coverage for power of two and input value 0

An input value 0 for the sr_next_power_of_two() routine is not invalid
any longer. Remove the test case that is expected to fail. Add a regular
case to cover that code path instead.
tests/strutil.c