mirror of
https://git.tukaani.org/xz.git
synced 2026-10-31 03:14:56 +00:00
Tests: test_index: Test lzma_index_memusage(STREAMS_MAX, 1)
This commit is contained in:
parent
d31b473917
commit
1a4a4df366
@ -42,6 +42,7 @@ test_lzma_index_memusage(void)
|
||||
|
||||
// The maximum number of Streams should be UINT32_MAX in the
|
||||
// current implementation even though the parameter is lzma_vli.
|
||||
assert_uint(lzma_index_memusage(UINT32_MAX, 1), <, UINT64_MAX / 8);
|
||||
assert_uint_eq(lzma_index_memusage((lzma_vli)UINT32_MAX + 1, 1),
|
||||
UINT64_MAX);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user