mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Test against the value itself
This commit is contained in:
parent
349c95d17a
commit
04d3901491
1 changed files with 2 additions and 1 deletions
|
@ -297,7 +297,8 @@ def test_supermemo_xml_01_unicode():
|
|||
assert i.total == 1
|
||||
cid = deck.db.scalar("select id from cards")
|
||||
c = deck.getCard(cid)
|
||||
assert c.factor == int(i._afactor2efactor(float(5.701))*1000)
|
||||
# Applies A Factor-to-E Factor conversion
|
||||
assert c.factor == 2879
|
||||
assert c.reps == 7
|
||||
deck.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue