mirror of
https://github.com/redstrate/Physis.git
synced 2025-06-07 23:27:45 +00:00
Add test_deconstruct
This commit is contained in:
parent
a508766583
commit
c7105e964d
1 changed files with 8 additions and 0 deletions
|
@ -111,4 +111,12 @@ mod tests {
|
||||||
"chara/equipment/e0000/model/c0101e0000_top.mdl"
|
"chara/equipment/e0000/model/c0101e0000_top.mdl"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_deconstruct() {
|
||||||
|
assert_eq!(
|
||||||
|
deconstruct_equipment_path("c0101e0000_top.mdl"),
|
||||||
|
Some((0, Slot::Body))
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue