mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
Do just a decode to check validity
This commit is contained in:
parent
fdae91b420
commit
b1bd0c068a
1 changed files with 2 additions and 1 deletions
|
|
@ -376,5 +376,6 @@ fn test_chunk_seri() {
|
|||
}
|
||||
save_chunk(&ChunkPos { x: 2, y: 0 }, &chk);
|
||||
save_chunk(&ChunkPos { x: 3, y: 0 }, &chk);
|
||||
save_chunk(&ChunkPos { x: 0, y: 0 }, &chk);
|
||||
let raw = std::fs::read("0.0.rgn").unwrap();
|
||||
zstd::decode_all(&raw[8..]).unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue