tests: c_lib: Add tests for rand() and srand()

 - simple tests for each function
 - a reproducibility test for rand with the same seed values

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2 files changed