periph / devices

Go·Hardware·Lean - Device drivers
https://periph.io
Apache License 2.0
85 stars 42 forks source link

Add AHT20 tests #70

Closed SoulKa closed 8 months ago

SoulKa commented 8 months ago
codecov-commenter commented 8 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (e644b7c) 61.6% compared to head (e5f433a) 61.4%.

Files Patch % Lines
aht20/aht20.go 57.1% 0 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #70 +/- ## ======================================= - Coverage 61.6% 61.4% -0.2% ======================================= Files 65 67 +2 Lines 7442 7567 +125 ======================================= + Hits 4583 4646 +63 - Misses 2705 2758 +53 - Partials 154 163 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

maruel commented 8 months ago

Thanks! If you want one optional thing that is sweet is to add an example that can be copy pasted by using package aht20_test. See other example files for an example and the corresponding generated doc.