constantoine / totp-rs

RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features.
https://crates.io/crates/totp-rs
MIT License
169 stars 20 forks source link

Add tests for generate_current and check_current #18

Closed constantoine closed 2 years ago

constantoine commented 2 years ago

Also updated docs to reflect those changes

codecov-commenter commented 2 years ago

Codecov Report

Merging #18 (6c19202) into master (2c75d04) will increase coverage by 8.51%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
+ Coverage   87.19%   95.70%   +8.51%     
==========================================
  Files           1        1              
  Lines         164      163       -1     
==========================================
+ Hits          143      156      +13     
+ Misses         21        7      -14     
Impacted Files Coverage Δ
src/lib.rs 95.70% <100.00%> (+8.51%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2c75d04...6c19202. Read the comment docs.