Some refactoring and tests for SpectrumROI
Tests for handle_roi_clicked
Testing
Adds some tests
Acceptance Criteria
Open spectrum viewer with data
Add some ROIs
Check that clicking on ROIs updates coords in the properties
Check that the same ROI is showing when moving back and forth between ROIs and Image tabs
coverage: 72.745% (+0.03%) from 72.713%
when pulling d0f137a5ef91f577c5d0b0d5c4b47cbca22382d6 on 2032-spec-viewer-tests
into 937bb368c7527ba8ee619d841402dcec0ba83ebe on main.
Issue
Work on #2032
Description
Some refactoring and tests for
SpectrumROI
Tests forhandle_roi_clicked
Testing
Adds some tests
Acceptance Criteria
Open spectrum viewer with data Add some ROIs Check that clicking on ROIs updates coords in the properties Check that the same ROI is showing when moving back and forth between ROIs and Image tabs
Documentation
Not needed