Browse Source

remove prints in test

pbs
jake 5 years ago
parent
commit
25488e9453
  1. 5
      src/common/leveltable.rs

5
src/common/leveltable.rs

@ -110,11 +110,6 @@ mod test {
#[test]
fn test_stat_levels() {
let table = CharacterLevelTable::new();
println!("A {:?}", table.get_stats_from_exp(Class::FOmarl, 0));
println!("B {:?}", table.get_stats_from_exp(Class::FOmarl, 1));
println!("C {:?}", table.get_stats_from_exp(Class::FOmarl, 50));
println!("D {:?}", table.get_stats_from_exp(Class::FOmarl, 51));
println!("E {:?}", table.get_stats_from_exp(Class::FOmarl, 1000));
assert!(table.get_stats_from_exp(Class::FOmarl, 0) == (1, CharacterStats { hp: 20, atp: 13, mst: 53, evp: 35, dfp: 10, ata: 15, lck: 10 }));
assert!(table.get_stats_from_exp(Class::FOmarl, 1 << 17) == (36, CharacterStats { hp: 125, atp: 114, mst: 219, evp: 182, dfp: 42, ata: 213, lck: 10 }));
}

Loading…
Cancel
Save