Tidied up Bacon Cipher operations

This commit is contained in:
n1474335 2019-09-04 17:13:05 +01:00
parent f0b3bd0ede
commit b31f32a7e7
5 changed files with 115 additions and 121 deletions

View file

@ -1,11 +1,11 @@
/**
* BaconCipher tests.
* Bacon Cipher tests.
*
* @author Karsten Silkenbäumer [github.com/kassi]
* @copyright Karsten Silkenbäumer 2019
* @license Apache-2.0
*/
import TestRegister from "../TestRegister";
import TestRegister from "../../lib/TestRegister";
import { BACON_ALPHABETS, BACON_TRANSLATIONS } from "../../../src/core/lib/Bacon";
const alphabets = Object.keys(BACON_ALPHABETS);
@ -242,9 +242,7 @@ TestRegister.addTests([
args: [alphabets[1], translations[3], true]
}
],
}
]);
TestRegister.addTests([
},
{
name: "Bacon Encode: no input",
input: "",