Skip to content

Commit

Permalink
finish
Browse files Browse the repository at this point in the history
  • Loading branch information
asukaminato0721 committed Mar 27, 2024
1 parent 0dcd087 commit 458ad23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ fn test_memo_state() {
},
);
card = scheduled_cards.select_card(Rating::Good);
dbg!(card.stability - 43.05542);
dbg!(f32::EPSILON);
assert!((card.stability - 43.05542).abs() < f32::EPSILON * 1000f32);
assert!((card.stability - 43.05542).abs() < f32::EPSILON * 100f32);
assert_eq!(card.difficulty, 7.7609);
}

0 comments on commit 458ad23

Please sign in to comment.