mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-03 01:39:22 +02:00
remove obsolete tests
This commit is contained in:
parent
de0b6d1c8f
commit
a36ffa861a
1 changed files with 0 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
|||
package io.timelimit.android.ui.manage.category.blocked_times
|
||||
|
||||
import org.junit.Assert.assertEquals
|
||||
import org.junit.Test
|
||||
|
||||
class MinutesOfWeekItemsTest {
|
||||
@Test
|
||||
fun canGetAllItems() {
|
||||
for (i in 0 until MinuteOfWeekItems.itemsPerWeek) {
|
||||
MinuteOfWeekItems.getItemAtPosition(i)
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun reverseLookupReturnsSameItem() {
|
||||
for (i in 0 until MinuteOfWeekItems.itemsPerWeek) {
|
||||
val item = MinuteOfWeekItems.getItemAtPosition(i)
|
||||
val index = MinuteOfWeekItems.getPositionOfItem(item)
|
||||
|
||||
assertEquals(item.toString(), i, index)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue