Closed r-akemii closed 1 month ago
@pedrocamargo with the addition of these new tests, we should reach 70% test coverage for QAequilibraE code. We're still missing tests for SimpleTagDialog
and LeastCommonDenominatorDialog
in the GIS module. I'm not sure what to do to test these functions, but I'll check with you later.
@pedrocamargo I added a fixture in conftest to create an arbitrary line layer to test bandwidth creation, and the code piece that made the desirelines was tested separately in a new test file.
BTW, we have 72% coverage with the tests in this branch.
In this PR we test the functions
DesireLinesDialog
,DesireLinesProcedure
,LoadColorRampSelector
, andCreateBandwidthsDialog
from the GIS module, increasing the module coverage for visualization tools.We also removed a code line that printed the result for the Delaunay line procedure and added a new test fixture that creates arbitrary desirelines for test.