Kota-Karthik / twinTrim

TwinTrim is a powerful and efficient tool designed to find and manage duplicate files across directories.
https://kota-karthik.github.io/twinTrim/
MIT License
18 stars 65 forks source link

Added tests for find_duplicates #164

Closed Sai-ganesh-0004 closed 2 weeks ago

Sai-ganesh-0004 commented 2 weeks ago

Description

This update introduces unit tests for the find_duplicates function in the twinTrim.flagController module. The tests cover various scenarios, including finding duplicate files, handling directories with no files, and proper filtering of files. These tests ensure the robustness of the duplicate detection functionality by validating its behavior in different contexts.

Type of change

Checklist

Screenshots (if applicable)

image

Sai-ganesh-0004 commented 2 weeks ago

@techy4shri can you add labels for this pr

Sai-ganesh-0004 commented 2 weeks ago

Want me to add anything else I will add

Kota-Karthik commented 2 weeks ago

@Sai-ganesh-0004 I see no problems with the code , but let @techy4shri submit her review will merge it ,if she doesn't request any changes!

Sai-ganesh-0004 commented 2 weeks ago

@techy4shri Please review

Sai-ganesh-0004 commented 2 weeks ago

@techy4shri can you add gssoc-ext label for this pr