Fix: average_mmr may be optional

This commit is contained in:
eigenein committed 2023-04-29 23:33:28 +02:00
1 parent fa6ac70d21
commit 632f1781e7
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ fn data_ok() -> Result<()> {
assert!(header.summary.is_mouse_enabled);
assert_eq!(header.summary.matchmaker_type, 2);
assert_eq!(header.summary.camouflage_slot, 1);
assert_eq!(header.summary.average_mmr, [59.29457753400008, 99.34182121604681]);
assert_eq!(header.summary.average_mmr, [Some(59.29457753400008), Some(99.34182121604681)]);
assert_eq!(
header.summary.account_database_ids,
[