Skip to content

Fix unit based calculations - #45

Merged
rracariu merged 3 commits into
masterfrom
fix/unit-calc
Jul 20, 2026
Merged

Fix unit based calculations#45
rracariu merged 3 commits into
masterfrom
fix/unit-calc

Conversation

@rracariu

Copy link
Copy Markdown
Contributor

No description provided.

Radu Racariu added 2 commits July 16, 2026 20:10
@github-actions

Copy link
Copy Markdown

Coverage after merging fix/unit-calc into master will be

82.61%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/haystack
   units.rs100%100%100%100%
src/haystack/defs
   namespace.rs92.83%100%98.94%91.79%239, 256, 334, 353, 386, 399, 411, 413, 415, 430, 485, 536, 678, 683, 686, 721, 737–756, 785, 790, 883, 904
src/haystack/units
   unit.rs91.48%100%92.31%91.33%128, 136, 138, 161–167, 92, 94
src/haystack/val
   grid.rs98.99%100%100%98.80%233

@github-actions

Copy link
Copy Markdown

Coverage after merging fix/unit-calc into master will be

82.62%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src/haystack
   units.rs100%100%100%100%
src/haystack/defs
   namespace.rs92.83%100%98.94%91.79%239, 256, 334, 353, 386, 399, 411, 413, 415, 430, 485, 536, 678, 683, 686, 721, 737–756, 785, 790, 883, 904
src/haystack/encoding/zinc
   encode.rs86.92%100%83.33%87.39%142, 144–145, 147, 149, 182, 237, 240–241, 243, 258, 286, 403, 68–70, 72, 78–80, 84–86, 90–92, 96–98
src/haystack/encoding/zinc/decode
   lexer.rs89.96%100%100%89.16%122, 131, 195–198, 205–208, 229–233, 236–240, 256, 289, 318
src/haystack/filter
   nodes.rs82.14%100%89.19%80.75%126, 153–155, 205, 323–325, 335, 337, 340, 342, 344–351, 353, 355, 357–360, 362, 366–367, 377–379, 420–422
src/haystack/units
   unit.rs91.48%100%92.31%91.33%128, 136, 138, 161–167, 92, 94
src/haystack/val
   grid.rs98.99%100%100%98.80%233
   number.rs90.08%100%94.12%89.47%108, 151–155, 157, 159, 172, 198, 222, 243

@rracariu
rracariu requested a review from garethj2 July 16, 2026 17:54
@rracariu rracariu self-assigned this Jul 17, 2026
@rracariu
rracariu merged commit 402cc56 into master Jul 20, 2026
10 checks passed
@rracariu
rracariu deleted the fix/unit-calc branch July 20, 2026 08:34
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