feat: add overdue analytics by sector with swipeable UI in AnalyticsScreen
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user