* Run all functional tests for hash functions */
| 264 | * Run all functional tests for hash functions |
| 265 | */ |
| 266 | static int |
| 267 | run_hash_func_tests(void) |
| 268 | { |
| 269 | if (verify_precalculated_hash_func_tests() != 0) |
| 270 | return -1; |
| 271 | |
| 272 | if (verify_jhash_32bits() != 0) |
| 273 | return -1; |
| 274 | |
| 275 | if (verify_jhash_words() != 0) |
| 276 | return -1; |
| 277 | |
| 278 | return 0; |
| 279 | |
| 280 | } |
| 281 | |
| 282 | static int |
| 283 | test_hash_functions(void) |
no test coverage detected