aboutsummaryrefslogtreecommitdiff
path: root/crates/nres/src/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Refactor tests and move them to a dedicated moduleValentin Popov3 days1-0/+543
- Moved the test suite from `lib.rs` to a new `tests.rs` file for better organization. - Added a `SyntheticRsliEntry` struct to facilitate synthetic test cases. - Introduced `RsliBuildOptions` struct to manage options for building RsLi byte arrays. - Implemented various utility functions for file handling, data compression, and bit manipulation. - Enhanced the `rsli_read_unpack_and_repack_all_files` test to validate all RsLi archives. - Added new tests for synthetic entries covering all packing methods, overlay handling, and validation error cases.