DP-3T / dp3t-sdk-backend

The backend implementation for DP3T
Mozilla Public License 2.0
199 stars 87 forks source link

EFGS: Add tests and fix calculation of (calendar) days since submission #297

Closed UBaggeler closed 3 years ago

UBaggeler commented 3 years ago

This PR adds unit tests for the DSOS (days since onset of symptoms) calculation when uploading to an EFGS-compatible hub. The third commit fixes the calculation, which did not calculate calendar days (inclusive) but 24h-days.

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 1 Code Smell

57.7% 57.7% Coverage
0.0% 0.0% Duplication