NovoNordisk-OpenSource / decentralized-tech-radar

Decentralized Tech Radar - ITU ISE 2024 Collaboration
GNU Affero General Public License v3.0
8 stars 3 forks source link

[PR 6:1] test: Add test for Merger's duplicationRemoval #135

Closed Haruyzal closed 4 months ago

Haruyzal commented 4 months ago

Note Only change in docs/dev_docs/merger.md that actually occured is that ReadCsvData() calls scanFile() instead of duplicationRemoval(), and that we describe scanFile() which is now the one calling duplicationRemoval().

This is a unit-test that was missing.

Refactoring the scanner-lines into scanFile() simplified the testing of duplicationRemoval(), and will hopefully make it easier to do majority vote later down the line.

Resolves #124