-
-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ICU-23009 Enhance MeasureUnit handling for constant denominators
- Updated MeasureUnit class to allow constant denominators for both COMPOUND and SINGLE complexities. - Modified error handling to throw exceptions for unsupported complexities. - Added new test cases in MeasureUnitTest to validate constant denominators, including edge cases and non-acceptable identifiers. This change improves the robustness of the MeasureUnit functionality and expands the test coverage for constant denominators.
- Loading branch information
Showing
2 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters