-
-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICU-13836 C++ port of Java impl of plural support for compact decimal notation #972
Conversation
See previous ICU4J implementation in PR #938 |
cas.expectedString, | ||
actualString); | ||
assertDoubleEquals( | ||
u"compact decimal %d, n operand vs. expected" + Int64ToUnicodeString(cas.input), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the %d
get substituted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Split up the test msg string and used string concatenation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's a double you can use DoubleToUnicodeString
instead of Int64ToUnicodeString
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
icu4j/main/classes/core/src/com/ibm/icu/impl/number/DecimalQuantity_AbstractBCD.java
Outdated
Show resolved
Hide resolved
icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/DecimalQuantity_SimpleStorage.java
Outdated
Show resolved
Hide resolved
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
All the CI checks passed, so I squashed and force-pushed. @sffc can you stamp the PR with another approval due to the branch squash? |
Checklist