feat: add overdue analytics by sector with swipeable UI in AnalyticsScreen

This commit is contained in:
Jhony Cesar
2026-07-29 10:43:06 -04:00
parent e696ceb399
commit 694daa1cf3
4 changed files with 170 additions and 82 deletions

View File

@@ -5,6 +5,7 @@ import androidx.test.core.app.ApplicationProvider
import com.example.data.local.AppDatabase
import com.example.data.remote.GoogleSheetsSyncService
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
@@ -252,6 +253,9 @@ class ExampleRobolectricTest {
// 4. Verify realized progress points has correct count
assertEquals(5, state.realizedProgressPoints.size)
// 5. Verify overdueBySector is present
assertNotNull(state.overdueBySector)
collectionJob.cancel()
}
db.close()