Skip to content

Commit

Permalink
Adjust filtered deck test to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Jan 6, 2024
1 parent ea45545 commit 77ac940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AnkiDroid/src/test/java/com/ichi2/libanki/SchedulerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,8 @@ open class SchedulerTest : JvmTest() {
col.sched.rebuildDyn(did)
// grab the first card
c = col.sched.card!!
Assert.assertEquals(600, col.sched.nextIvl(c, BUTTON_ONE))
Assert.assertEquals(900, col.sched.nextIvl(c, BUTTON_TWO))
Assert.assertEquals(60, col.sched.nextIvl(c, BUTTON_ONE))
Assert.assertEquals(600, col.sched.nextIvl(c, BUTTON_TWO))
// failing it will push its due time back
val due = c.due
col.sched.answerCard(c, BUTTON_ONE)
Expand Down

0 comments on commit 77ac940

Please sign in to comment.