LLNL / units

A run-time C++ library for working with units of measurement and conversions between them and with string representations of units and measurements
https://units.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 26 forks source link

add unary operation to measurement classes #327

Closed phlptp closed 10 months ago

phlptp commented 10 months ago

add unary operators negation and + operator add a complete unit list test and some additional units.

phlptp commented 10 months ago

Fixes #325

codecov-commenter commented 10 months ago

Codecov Report

Merging #327 (e7fc2ae) into main (7c5b210) will increase coverage by 0.00%. Report is 3 commits behind head on main. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #327 +/- ## ======================================= Coverage 99.96% 99.96% ======================================= Files 9 9 Lines 5071 5091 +20 ======================================= + Hits 5069 5089 +20 Misses 2 2 ```