Sebastian Falbesoner 5a95a268b9 tests: introduce helper for non-zero random_fe_test results
There are several instances in the tests where random non-zero field
elements are generated by calling `random_fe_test` in a do/while-loop.
This commit deduplicates all these by introducing a
`random_fe_non_zero_test` helper. Note that some instances checked the
is-zero condition via `secp256k1_fe_normalizes_to_zero_var`, which is
unnecessary, as the result of `random_fe_test` is already normalized (so
strictly speaking, this is not a pure refactor).
2023-06-27 10:31:24 +02:00
..
2022-11-07 16:37:24 -05:00
2023-06-20 11:31:58 -04:00
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2022-03-25 11:32:14 +01:00
2022-11-07 16:37:24 -05:00
2022-11-07 16:37:24 -05:00
2023-02-28 15:54:00 -05:00
2023-02-28 15:54:00 -05:00
2021-12-18 16:12:34 -05:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00