Skip to content

Commit 848b2fa

Browse files
Max Hoffmanmeta-codesync[bot]
authored andcommitted
misc(test/utils): Expose assertEqualResults for comparing two multisets. (facebookincubator#15109)
Summary: Pull Request resolved: facebookincubator#15109 Expand header to include existing method that's used internally that I'd like to use from DPP. Reviewed By: xiaoxmeng, marxhxxx Differential Revision: D83879150 fbshipit-source-id: a707912168ee2a11d038042febb061287f9d1d51
1 parent e4453c6 commit 848b2fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

velox/exec/tests/utils/QueryAssertions.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,13 @@ bool assertEqualResults(
312312
const core::PlanNodePtr& plan1,
313313
const core::PlanNodePtr& plan2);
314314

315+
bool assertEqualResults(
316+
const MaterializedRowMultiset& expectedRows,
317+
const TypePtr& expectedType,
318+
const MaterializedRowMultiset& actualRows,
319+
const TypePtr& actualType,
320+
const std::string& message);
321+
315322
/// Ensure both datasets have the same type and number of rows.
316323
void assertEqualTypeAndNumRows(
317324
const TypePtr& expectedType,

0 commit comments

Comments
 (0)