mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
rearranged browser tests
This commit is contained in:
parent
f9d23a7d08
commit
70a4a114e1
1 changed files with 13 additions and 11 deletions
|
@ -24,17 +24,19 @@ describe('Generic', function () {
|
|||
});
|
||||
|
||||
|
||||
it('levels 0-9', function() {
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 0 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 1 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 2 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 3 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 4 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 5 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 6 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 7 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 8 }))));
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 9 }))));
|
||||
describe('levels', function() {
|
||||
it('0', function() {
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 0 }))));
|
||||
});
|
||||
it('1', function() {
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 1 }))));
|
||||
});
|
||||
it('4', function() {
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 4 }))));
|
||||
});
|
||||
it('6', function() {
|
||||
assert(cmp(data_bin, pako.inflate(pako.deflate(data_bin, { level: 6 }))));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue