This commit is contained in:
parent
533af3a355
commit
68de2504e0
@ -213,6 +213,10 @@ mod test {
|
||||
#[test]
|
||||
fn test_sjs_drop() {
|
||||
let mut drop_table = DropTable::<rand_chacha::ChaCha20Rng>::new(Episode::Two, Difficulty::Ultimate, SectionID::Skyly);
|
||||
let drop = drop_table.get_rare_drop(&MapArea::Seaside, &MonsterType::GiGue);
|
||||
let drop = drop_table.get_rare_drop(&MapArea::Seaside, &MonsterType::GiGue).unwrap();
|
||||
if let ItemDropType::Weapon(weapon) = drop {
|
||||
assert!(weapon.weapon == weapon::WeaponType::SealedJSword);
|
||||
assert!(weapon.kills == Some(0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user