MCPcopy Create free account
hub / github.com/apache/arrow / TEST

Function TEST

cpp/src/arrow/compute/kernels/vector_search_sorted_test.cc:277–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 : public ::testing::TestWithParam<SearchSortedSmokeCase> {};
276
277TEST(SearchSorted, BasicLeftRight) {
278 CheckSimpleSearchSorted(int64(), "[100, 200, 200, 300, 300]", "[50, 200, 250, 400]",
279 "[0, 1, 3, 5]", "[0, 3, 3, 5]");
280}
281
282TEST(SearchSorted, ScalarNeedle) {
283 auto values = ArrayFromJSON(int32(), "[1, 3, 5, 7]");

Callers

nothing calls this directly

Calls 15

CheckSimpleSearchSortedFunction · 0.85
ArrayFromJSONFunction · 0.85
CheckSearchSortedFunction · 0.85
ChunkedArrayFromJSONFunction · 0.85
run_end_encodedFunction · 0.85
SearchSortedFunction · 0.85
SupportedTypeSmokeCasesFunction · 0.85
is_scalarMethod · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.70

Tested by

no test coverage detected