mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Added alternating caps functionality
This commit is contained in:
parent
d635cca210
commit
95f6c4c5d5
4 changed files with 68 additions and 0 deletions
|
@ -18,6 +18,7 @@ import {
|
|||
|
||||
import TestRegister from "../lib/TestRegister.mjs";
|
||||
import "./tests/AESKeyWrap.mjs";
|
||||
import "./tests/AlternatingCaps.mjs";
|
||||
import "./tests/AvroToJSON.mjs";
|
||||
import "./tests/BaconCipher.mjs";
|
||||
import "./tests/Base45.mjs";
|
||||
|
|
19
tests/operations/tests/AlternatingCaps.mjs
Normal file
19
tests/operations/tests/AlternatingCaps.mjs
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* @author sw5678
|
||||
* @copyright Crown Copyright 2024
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
import TestRegister from "../../lib/TestRegister.mjs";
|
||||
|
||||
TestRegister.addTests([
|
||||
{
|
||||
"name": "AlternatingCaps: Basic Example",
|
||||
"input": "Hello, world!",
|
||||
"expectedOutput": "hElLo, WoRlD!",
|
||||
"recipeConfig": [
|
||||
{
|
||||
"op": "Alternating Caps",
|
||||
"args": []
|
||||
},
|
||||
],
|
||||
}
|
||||
]);
|
Loading…
Add table
Add a link
Reference in a new issue