CoraLibre / CoraLibre-android-sdk

CoraLibre-android-sdk fork of prestandard DP-3T to make compatible with the Google/Apple protocol
Mozilla Public License 2.0
127 stars 7 forks source link

Implement database tests for hasTEKForInterval(...) and clearAllData() #62

Open haitrec opened 4 years ago

haitrec commented 4 years ago

These methods are inside main/.../internal/database/PersistentDatabase.kt.
While they are so simple that they should probably work, it would not harm to have small tests for these as well. Look at the existing database tests if unsure how to start.