Skip to content

Conversation

@adamchalmers
Copy link
Collaborator

Allows kcl.UnitVolume.CubicCentimeters == kcl.UnitVolume.CubicCentimeters to work as expected, instead of doing memory address comparison.

Allows `kcl.UnitVolume.CubicCentimeters == kcl.UnitVolume.CubicCentimeters`
to work as expected, instead of doing memory address comparison.
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@a482e8c). Learn more about missing BASE report.

Files with missing lines Patch % Lines
modeling-cmds/src/units.rs 0.00% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1081   +/-   ##
=======================================
  Coverage        ?   26.19%           
=======================================
  Files           ?       35           
  Lines           ?     1756           
  Branches        ?        0           
=======================================
  Hits            ?      460           
  Misses          ?     1296           
  Partials        ?        0           
Flag Coverage Δ
unittests 26.19% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adamchalmers adamchalmers merged commit 12c11b3 into main Feb 10, 2026
12 checks passed
@adamchalmers adamchalmers deleted the achalmers/eq-pyclass-units branch February 10, 2026 04:28
adamchalmers added a commit that referenced this pull request Feb 10, 2026
# Added

* Python equality for units (#1081)
* More #[builder(default)] (#1080)
* Arbitrary feature flag (#1075)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants