• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

unicode-org / icu4x / 8082455966
73%

Build:
DEFAULT BRANCH: main
Ran 28 Feb 2024 03:23PM UTC
Jobs 1
Files 894
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2024 03:01PM UTC coverage: 75.986% (-0.001%) from 75.987%
8082455966

push

github

web-flow
Implement `UnitsConverter` (#4605)

This PR introduces the `UnitsConverter`, a `struct` that wraps three
distinct types of unit converters:

1. **ProportionalConverter**: Handles conversions between units where
the relationship is `unit1 = CR * unit2`.
2. **ReciprocalConverter**: Handles conversions between units where the
relationship is `unit1 = 1 / (CR * unit2)`.
3. **OffsetConverter**: Handles conversions with an offset, following
the formula `unit1 = CR * unit2 + Offset`.

_Note: CR refers to the Conversion Rate._

Additionally, this PR includes an organizational change:
- The `ConverterFactory` has been relocated to a separate folder,
enhancing the overall clarity and structure of the implementation.


Fixes: #4576

49417 of 65034 relevant lines covered (75.99%)

505992.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8082455966.1 28 Feb 2024 03:23PM UTC 0
75.99
GitHub Action Run
Source Files on build 8082455966
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8082455966
  • e55cc338 on github
  • Prev Build on main (#8071651926)
  • Next Build on main (#8083736592)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc