apple / swift-algorithms

Commonly used sequence and collection algorithms for Swift
Apache License 2.0
5.97k stars 443 forks source link

[tests] Ensure correct implementation of hash computation for ChunkedByCount #123

Closed LucianoPAlmeida closed 3 years ago

LucianoPAlmeida commented 3 years ago

After the Nate's comments about hashable correctness in the last PR I note that we have miss that on ChunkedByCount. This just adjust to take the count in hash computation.

cc @natecook1000 @timvermeulen

Checklist

natecook1000 commented 3 years ago

@swift-ci Please test

natecook1000 commented 3 years ago

Thanks, @LucianoPAlmeida!