From ec007f34c4cd984640a235660803b81a739742b3 Mon Sep 17 00:00:00 2001 From: troido Date: Wed, 1 Apr 2020 23:05:11 +0200 Subject: fixed broken tests --- src/components/equipment.rs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/components/equipment.rs') diff --git a/src/components/equipment.rs b/src/components/equipment.rs index 94a440b..c19563f 100644 --- a/src/components/equipment.rs +++ b/src/components/equipment.rs @@ -120,18 +120,4 @@ mod tests { ); } - - #[test] - fn bonus_value() { - assert_eq!( - Equipment{equipment: hashmap!( - Slot::Hand => Some(Equippable{ - slot: Slot::Hand, - stats: hashmap!(Stat::Strength => 15) - }), - Slot::Body => None - )}.get_bonus(Stat::Strength), - 15 - ); - } } -- cgit