MultiComponentStateModeCalculator : Refactor and add simple unit test
- Move internal implementation helpers to
.cxxonly (anonymous namespace) . - Add an additional testable "visible" method that does the main work.
- Add a relevant unit test for that method.
Edited by Christos Anastopoulos