bernedom / SI

A header only C++ library that provides type safety and user defined literals for physical units
https://si.dominikberner.ch/doc/
MIT License
488 stars 40 forks source link

Unit test typo #81

Closed pjanck closed 3 years ago

pjanck commented 3 years ago

https://github.com/bernedom/SI/blob/fce11bcbaf74854f0180db92865b14eba1853f9e/test/src/base_unit_tests/length_tests.cc#L21

I assume the comment should say _fm checking for femtometers. Here the whole block as a reference:

https://github.com/bernedom/SI/blob/fce11bcbaf74854f0180db92865b14eba1853f9e/test/src/base_unit_tests/length_tests.cc#L21-L31

I really like your use of compile-time unit testing!

bernedom commented 3 years ago

Thank you for the close look and paying attention :+1: .Will be fixed in the next minor release.