Add MultiBombe

Runs the Bombe multiple times with different rotor specs.
Edits the core BombeMachine a little to add the ability to switch rotors
without rewiring everything
This commit is contained in:
s2224834 2019-01-10 18:04:02 +00:00
parent 8c757d1e03
commit 3eb44708e5
7 changed files with 411 additions and 13 deletions

View file

@ -85,7 +85,7 @@ TestRegister.addTests([
{
name: "Bombe: 4 rotor",
input: "LUOXGJSHGEDSRDOQQX",
expectedMatch: /LHSC \(plugboard: SS\)/,
expectedMatch: /LHSC \(plugboard: SS\): HHHSSSGQUUQPKSEKWK/,
recipeConfig: [
{
"op": "Bombe",