Skip to content

Comments

Use #inspect for all non-special units#38

Merged
trinistr merged 1 commit intomainfrom
swap-to_s-to-inspect
Feb 9, 2026
Merged

Use #inspect for all non-special units#38
trinistr merged 1 commit intomainfrom
swap-to_s-to-inspect

Conversation

@trinistr
Copy link
Owner

@trinistr trinistr commented Feb 9, 2026

Closes #37

This is the behavior displayed by core containers. Coefficients for now are not inspected, as I don't particularly like how it looks.

This is the behavior displayed by core containers. Coefficients for now are not `inspect`ed, as I don't particularly like how it looks.
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Coverage after merging swap-to_s-to-inspect into main will be

99.39%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
./lib
   vector_number.rb100%100%100%100%
./lib/vector_number
   comparing.rb100%100%100%100%
   converting.rb100%100%100%100%
   enumerating.rb100%100%100%100%
   math_converting.rb95.24%100%100%93.33%
   mathing.rb100%100%100%100%
   numeric_refinements.rb70.37%100%100%61.90%
   querying.rb100%100%100%100%
   special_unit.rb100%100%100%100%
   stringifying.rb100%100%100%100%
   vectoring.rb100%100%100%100%
   version.rb100%100%100%100%
./spec
   kernel_spec.rb100%100%100%100%
   vector_number_spec.rb100%100%100%100%
./spec/vector_number
   comparing_spec.rb100%100%100%100%
   converting_spec.rb100%100%100%100%
   enumerating_spec.rb100%100%100%100%
   math_converting_spec.rb100%100%100%100%
   mathing_spec.rb99.66%100%100%99.66%
   new_spec.rb100%100%100%100%
   numeric_refinements_spec.rb95.16%100%100%95.08%
   querying_spec.rb100%100%100%100%
   special_unit_spec.rb100%100%100%100%
   stringifying_spec.rb100%100%100%100%
   vector_space_axioms_spec.rb100%100%100%100%
   vectoring_spec.rb100%100%100%100%

@trinistr trinistr merged commit d7008f1 into main Feb 9, 2026
40 of 48 checks passed
@trinistr trinistr deleted the swap-to_s-to-inspect branch February 9, 2026 20:36
trinistr added a commit that referenced this pull request Feb 9, 2026
There were also some missed doc comments from 0.6.0 changes.
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.

Use #inspect for stringification of units (and values?)

1 participant