test: fix arguments order of comparsion functions
Place actual values as the first arguments and expected as the second.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines