|
|
@ -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]
|
|
|
|