memo_rs

Crates.iomemo_rs
lib.rsmemo_rs
version1.0.0
sourcesrc
created_at2023-04-09 16:37:49.482937
updated_at2023-04-09 16:37:49.482937
descriptionAn implementation of supermemo2 for rust
homepage
repositoryhttps://github.com/HenryPTS/memo_rs
max_upload_size
id834420
size4,073
Henry Steinberg (HenryPTS)

documentation

README

SuperMemoRS

implementation of supermemo2 for rust

todo

  • support for other versions of supermemo
  • support for forks of SM2 such as the one used by anki

usage


fn incorrect_response_first_try() {
  let res = SuperMemo2::new().calc(0, 0, 2.5, 0);
  assert_eq!(res, (0, 0, 2.5, 1));
}

fn grade_over_max_length() {
  super_memo2(50, 2, 1.3, 6);
}
Commit count: 3

cargo fmt