rearranged browser tests

This commit is contained in:
Vitaly Puzrin 2014-03-13 14:47:16 +04:00
parent f9d23a7d08
commit 70a4a114e1

View file

@ -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 }))));
});
});
});