mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-25 22:07:44 +00:00
Test for size_on_disk in patchlist
This commit is contained in:
parent
979b8df45d
commit
e1a9be2756
1 changed files with 2 additions and 0 deletions
|
@ -188,6 +188,7 @@ mod tests {
|
||||||
assert_eq!(patch_list.patches.len(), 1);
|
assert_eq!(patch_list.patches.len(), 1);
|
||||||
assert_eq!(patch_list.patches[0].version, "2023.09.14.0000.0001");
|
assert_eq!(patch_list.patches[0].version, "2023.09.14.0000.0001");
|
||||||
assert_eq!(patch_list.patches[0].url, "http://patch-dl.ffxiv.com/boot/2b5cbc63/D2023.09.14.0000.0001.patch");
|
assert_eq!(patch_list.patches[0].url, "http://patch-dl.ffxiv.com/boot/2b5cbc63/D2023.09.14.0000.0001.patch");
|
||||||
|
assert_eq!(patch_list.patches[0].size_on_disk, 69674819);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -251,6 +252,7 @@ mod tests {
|
||||||
assert_eq!(patch_list.patches.len(), 19);
|
assert_eq!(patch_list.patches.len(), 19);
|
||||||
assert_eq!(patch_list.patches[5].version, "2023.07.26.0000.0001");
|
assert_eq!(patch_list.patches[5].version, "2023.07.26.0000.0001");
|
||||||
assert_eq!(patch_list.patches[5].url, "http://patch-dl.ffxiv.com/game/ex1/6b936f08/D2023.07.26.0000.0001.patch");
|
assert_eq!(patch_list.patches[5].url, "http://patch-dl.ffxiv.com/game/ex1/6b936f08/D2023.07.26.0000.0001.patch");
|
||||||
|
assert_eq!(patch_list.patches[5].size_on_disk, 5854598228);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Reference in a new issue