From 533af3a355b7dc2a270345dfadec1165e97699a9 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 16 Jun 2022 23:49:07 +0000 Subject: [PATCH] more cleanup --- src/ship/drops/mod.rs | 1 - tests/test_unseal_items.rs | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ship/drops/mod.rs b/src/ship/drops/mod.rs index c006167..7df1a05 100644 --- a/src/ship/drops/mod.rs +++ b/src/ship/drops/mod.rs @@ -214,6 +214,5 @@ mod test { fn test_sjs_drop() { let mut drop_table = DropTable::::new(Episode::Two, Difficulty::Ultimate, SectionID::Skyly); let drop = drop_table.get_rare_drop(&MapArea::Seaside, &MonsterType::GiGue); - println!("drop: {:?}", drop); } } diff --git a/tests/test_unseal_items.rs b/tests/test_unseal_items.rs index b61c219..279e914 100644 --- a/tests/test_unseal_items.rs +++ b/tests/test_unseal_items.rs @@ -183,7 +183,8 @@ async fn test_all_equipped_kill_counters_increase_per_kill() { let w = inventory.items.iter().find(|x| x.individual().unwrap().id == equipped_items.weapon.unwrap()).unwrap().individual().unwrap(); let u = inventory.items.iter().find(|x| x.individual().unwrap().id == equipped_items.unit[0].unwrap()).unwrap().individual().unwrap(); - assert!(w.item.as_client_bytes()[11] == u.item.as_client_bytes()[11]); + assert!(w.item.as_client_bytes()[11] == 1); + assert!(u.item.as_client_bytes()[11] == 1); } #[async_std::test]