Test against the value itself

This commit is contained in:
Bryan Richter 2014-02-12 23:46:38 -08:00
parent 349c95d17a
commit 04d3901491

View File

@ -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()