fix tech drop tests

This commit is contained in:
jake 2020-04-27 07:07:51 -06:00
parent b22ce086f7
commit 6458fad89f

View File

@ -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), let tech_tests = vec![(MapArea::Forest1, Technique::Resta, 14),
(MapArea::Caves3, Technique::Foie, 24), (MapArea::Caves3, Technique::Foie, 25),
(MapArea::Mines2, Technique::Gibarta, 20), (MapArea::Mines2, Technique::Gibarta, 21),
(MapArea::DarkFalz, Technique::Razonde, 22)]; (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(