generated from filipe1309/shubcogen-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcases.ts
More file actions
50 lines (50 loc) · 1.04 KB
/
cases.ts
File metadata and controls
50 lines (50 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export default [
{
input: { string: "xyz", key: 2 },
expected: "zab"
},
{
input: { string: 'abc', key: 0 },
expected: "abc"
},
{
input: { string: 'abc', key: 3 },
expected: "def"
},
{
input: { string: 'xyz', key: 5 },
expected: "cde"
},
{
input: { string: 'abc', key: 26 },
expected: "abc"
},
{
input: { string: 'abc', key: 52 },
expected: "abc"
},
{
input: { string: 'abc', key: 57 },
expected: "fgh"
},
{
input: { string: 'xyz', key: 25 },
expected: "wxy"
},
{
input: { string: 'iwufqnkqkqoolxzzlzihqfm', key: 25 },
expected: "hvtepmjpjpnnkwyykyhgpel"
},
{
input: { string: 'ovmqkwtujqmfkao', key: 52 },
expected: "ovmqkwtujqmfkao"
},
{
input: { string: 'mvklahvjcnbwqvtutmfafkwiuagjkzmzwgf', key: 7 },
expected: "tcrshocqjuidxcabatmhmrdpbhnqrgtgdnm"
},
{
input: { string: 'kjwmntauvjjnmsagwgawkagfuaugjhawgnawgjhawjgawbfawghesh', key: 15 },
expected: "zylbcipjkyycbhpvlvplzpvujpjvywplvcplvywplyvplquplvwthw"
}
];