|
@ -118,10 +118,10 @@ mod test { |
|
|
let mut rng = rand_chacha::ChaCha20Rng::from_seed([23;32]);
|
|
|
let mut rng = rand_chacha::ChaCha20Rng::from_seed([23;32]);
|
|
|
let tt = TechniqueTable::new(Episode::One, Difficulty::Ultimate, SectionID::Skyly);
|
|
|
let tt = TechniqueTable::new(Episode::One, Difficulty::Ultimate, SectionID::Skyly);
|
|
|
|
|
|
|
|
|
let tech_tests = vec![(MapArea::Forest1, Technique::Resta, 13),
|
|
|
|
|
|
(MapArea::Caves3, Technique::Foie, 24),
|
|
|
|
|
|
(MapArea::Mines2, Technique::Gibarta, 20),
|
|
|
|
|
|
(MapArea::DarkFalz, Technique::Razonde, 22)];
|
|
|
|
|
|
|
|
|
let tech_tests = vec![(MapArea::Forest1, Technique::Resta, 14),
|
|
|
|
|
|
(MapArea::Caves3, Technique::Foie, 25),
|
|
|
|
|
|
(MapArea::Mines2, Technique::Gibarta, 21),
|
|
|
|
|
|
(MapArea::DarkFalz, Technique::Razonde, 23)];
|
|
|
|
|
|
|
|
|
for (area, tech, level) in tech_tests {
|
|
|
for (area, tech, level) in tech_tests {
|
|
|
assert!(tt.get_drop(&area, &mut rng) == Some(ItemDropType::TechniqueDisk(
|
|
|
assert!(tt.get_drop(&area, &mut rng) == Some(ItemDropType::TechniqueDisk(
|
|
|