Need to choose the entropy boundaries

This commit is contained in:
n1073645 2019-12-10 16:38:18 +00:00
parent f9dbf5ba21
commit dd682be184
2 changed files with 3 additions and 1 deletions

View file

@ -308,6 +308,8 @@ class Magic {
let outputEntropy = 0;
if (entropyTests) {
outputEntropy = this.calcEntropy(new Uint8Array(output));
console.log(entropyTests.output);
console.log(outputEntropy);
}
const outputRegexes = OperationConfig[op.op].outputRegexes;

View file

@ -40,7 +40,7 @@ class Gunzip extends Operation {
null,
{
input: [7, 8],
output: [3.5, 7],
output: [3.5, 6],
change: true
});
}