@@ -508,41 +508,6 @@ static void test_flt_num_div_sig(bool show)
508508 TEST_FN_CLOSE
509509}
510510
511- static void test_fuzz_flt_num_mul_ssm (bool show )
512- {
513- TEST_FN_OPEN
514-
515- #define TEST_FUZZ_FLT_NUM_MUL_SSM (TAG , COUNT_1 , COUNT_2 , RUNS ) \
516- { \
517- TEST_FUZZ_CASE_OPEN(TAG, RUNS) \
518- { \
519- uint64_t count = COUNT_1 + COUNT_2; \
520- int64_t exponent_1 = int_rand(INT32_MIN, INT32_MAX); \
521- int64_t exponent_2 = int_rand(INT32_MIN, INT32_MAX); \
522- flt_num_t flt_1 = flt_num_create_rand(exponent_1, COUNT_1); \
523- flt_num_t flt_2 = flt_num_create_rand(exponent_2, COUNT_2); \
524- flt_num_ssm_t flt_ssm_2 = flt_num_mul_prepare( \
525- flt_num_copy(flt_2), \
526- count \
527- ); \
528- flt_num_t flt_res_1 = flt_num_mul_finish( \
529- flt_num_copy(flt_1), \
530- flt_ssm_2 \
531- ); \
532- flt_num_ssm_free(flt_ssm_2); \
533- flt_num_t flt_res_2 = flt_num_mul(flt_1, flt_2); \
534- assert(flt_num_eq_dbg(flt_res_1, flt_res_2)); \
535- } \
536- TEST_FUZZ_CASE_CLOSE \
537- }
538-
539- TEST_FUZZ_FLT_NUM_MUL_SSM (1 , 256 , 256 , 256 );
540- TEST_FUZZ_FLT_NUM_MUL_SSM (2 , 1000 , 2000 , 100 );
541- TEST_FUZZ_FLT_NUM_MUL_SSM (3 , 500000 , 200000 , 5 );
542-
543- TEST_FN_CLOSE
544- }
545-
546511
547512
548513static void test_flt ()
@@ -570,8 +535,6 @@ static void test_flt()
570535
571536 test_flt_num_div_sig (show );
572537
573- test_fuzz_flt_num_mul_ssm (show );
574-
575538 TEST_ASSERT_MEM_EMPTY
576539}
577540
0 commit comments