1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-06-07 15:17:45 +00:00

Add test_deconstruct

This commit is contained in:
Joshua Goins 2022-10-20 10:48:05 -04:00
parent a508766583
commit c7105e964d

View file

@ -111,4 +111,12 @@ mod tests {
"chara/equipment/e0000/model/c0101e0000_top.mdl"
);
}
#[test]
fn test_deconstruct() {
assert_eq!(
deconstruct_equipment_path("c0101e0000_top.mdl"),
Some((0, Slot::Body))
);
}
}