Andriamanitra / coctus

Command line tool for playing clashes and I/O puzzles from CodinGame locally
MIT License
4 stars 2 forks source link

added other 3 comparison methods #23

Closed daxida closed 8 months ago

daxida commented 8 months ago

I rewrote https://github.com/Andriamanitra/clash/pull/18 because it became too messy. This way it should be easier for testing. I don't think I'll touch the dissimilar branch again, and I will delete it once the topic is sorted out.

I kept the three alternative functions for outputting the difference of clash run. The last two, using the difference crate are due to @ellnix.

I only adapted it to your previous refactoring, and also removed the abbreviation part of zipped_difference, that now returns a string.

Andriamanitra commented 8 months ago

It looks like we did some overlapping work – I've grabbed the useful parts of this pull request and added them to my branch at https://github.com/Andriamanitra/clash/tree/diff-testing