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

Function AssertSortIndices

cpp/src/arrow/compute/kernels/vector_sort_test.cc:553–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551// Tests for SortToIndices
552
553void AssertSortIndices(const Datum& datum, const SortOptions& options,
554 const std::shared_ptr<Array>& expected) {
555 ASSERT_OK_AND_ASSIGN(auto actual, SortIndices(datum, options));
556 ValidateOutput(*actual);
557 AssertArraysEqual(*expected, *actual, /*verbose=*/true);
558}
559
560void AssertSortIndices(const Datum& datum, const SortOptions& options,
561 const std::string& expected) {

Callers 6

AssertSortIndicesMethod · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
TYPED_TESTFunction · 0.85
TestSortMethod · 0.85
TestArraySortMethod · 0.85

Calls 3

ValidateOutputFunction · 0.85
AssertArraysEqualFunction · 0.85
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected