mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Corrected HabitTest
This commit is contained in:
@@ -110,10 +110,10 @@ class HabitTest : BaseUnitTest() {
|
|||||||
assertFalse(h.isCompletedToday())
|
assertFalse(h.isCompletedToday())
|
||||||
h.originalEntries.add(Entry(getToday(), 100000))
|
h.originalEntries.add(Entry(getToday(), 100000))
|
||||||
h.recompute()
|
h.recompute()
|
||||||
assertTrue(h.isCompletedToday())
|
assertFalse(h.isCompletedToday())
|
||||||
h.originalEntries.add(Entry(getToday(), 50000))
|
h.originalEntries.add(Entry(getToday(), 50000))
|
||||||
h.recompute()
|
h.recompute()
|
||||||
assertTrue(h.isCompletedToday())
|
assertFalse(h.isCompletedToday())
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user