summaryrefslogtreecommitdiff
path: root/test/test_fuzz_test.cpp
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-07-26 15:20:29 +0800
committerchenzizhan <[email protected]>2023-07-26 15:20:29 +0800
commite79f08c591dde8efc109fd50ba3a27396dc87339 (patch)
tree06af1d2b7e5480e07cb2112dcb750af6c9749680 /test/test_fuzz_test.cpp
parentc8fe516e20a376b0b48669d3224e67bd71a23a6a (diff)
topk accuracy test; fix bugs; all tests pass
Diffstat (limited to 'test/test_fuzz_test.cpp')
-rw-r--r--test/test_fuzz_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_fuzz_test.cpp b/test/test_fuzz_test.cpp
index 7875029..77f0fd5 100644
--- a/test/test_fuzz_test.cpp
+++ b/test/test_fuzz_test.cpp
@@ -102,6 +102,7 @@ TEST(Fuzz_test, fuzz_test)
free(blob);
}
int cube_id = rand() % CUBE_NUM;
+ // int cube_id = 0;
if (cube_ids[cube_id] != -1) {
if (cube_is_topk[cube_id]) {
Fieldstat_tag_list_wrapper * tmp = tag_list_wrapper[rand() % CELL_NUM];