add cetacean cipher encoder and decoder operations, tests. Update .gitignore to exclude idea generated files

This commit is contained in:
Robin Scholtes 2022-01-17 23:37:24 +13:00
parent ae1b12c120
commit 578a61d331
7 changed files with 169 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/**
* CetaceanCipher Encode tests
*
* @author dolphinOnKeys
* @copyright Crown Copyright 2022
* @licence Apache-2.0
*/
import TestRegister from "../../lib/TestRegister.mjs";
TestRegister.addTests([
{
name: "Cetacean Cipher Decode",
input: "EEEEEEEEEeeEEEEe EEEEEEEEEeeEEEeE EEEEEEEEEeeEEEee EEeeEEEEEeeEEeee",
expectedOutput: "a b c で",
recipeConfig: [
{
op: "Cetacean Cipher Decode",
args: []
},
],
}
]);