danielcweeks commented on PR #4635:
URL: https://github.com/apache/iceberg/pull/4635#issuecomment-1111341897

   This is one of those cases where AssertJ could help with convenience checks 
like `assertThat(actual).hasSameElementsAs(expected)`, but since we're not 
using that library here yet, this seems like a reasonable approach. 
Alternatively, you could do something like the following wrapped in a utility 
function:
   
   ```
   assertTrue(expected.size() == actual.size() && expected.containsAll(actual) 
&& actual.containsAll(expected));
   ``


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to