MCPcopy Create free account
hub / github.com/bytedance/bolt / TEST_F

Function TEST_F

bolt/exec/prefixsort/tests/PrefixSortAlgorithmTest.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75};
76
77TEST_F(PrefixSortAlgorithmTest, quickSort) {
78 testQuickSort(PrefixSortRunner::kSmallSort - 1);
79 testQuickSort(PrefixSortRunner::kSmallSort);
80 testQuickSort(PrefixSortRunner::kSmallSort + 1);
81 testQuickSort(PrefixSortRunner::kMediumSort);
82 // Any number bigger than kMediumSort is sufficient for testing.
83 testQuickSort(PrefixSortRunner::kMediumSort + 1000);
84}
85
86TEST_F(PrefixSortAlgorithmTest, testingMedian3) {
87 // Generate 3 elements randomly as input data.

Callers

nothing calls this directly

Calls 5

encodeInPlaceFunction · 0.85
decodeInPlaceFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected