Skip to content

Commit 927f803

Browse files
✨ feat(data): Add more inputs.
1 parent 58896bb commit 927f803

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

src/data.js

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@ const data = [
1919
pattern: '',
2020
hits: [0, 1, 2, 3, 4],
2121
},
22+
{
23+
pattern: 'a',
24+
hits: [0],
25+
},
26+
{
27+
pattern: 'b',
28+
hits: [1],
29+
},
30+
{
31+
pattern: 'c',
32+
hits: [2],
33+
},
34+
{
35+
pattern: 'd',
36+
hits: [3],
37+
},
2238
{
2339
pattern: 'abcde',
2440
hits: [],
@@ -27,10 +43,30 @@ const data = [
2743
pattern: 'abcd',
2844
hits: [0],
2945
},
46+
{
47+
pattern: 'ab',
48+
hits: [0],
49+
},
3050
{
3151
pattern: 'bc',
3252
hits: [1],
3353
},
54+
{
55+
pattern: 'cd',
56+
hits: [2],
57+
},
58+
{
59+
pattern: 'abc',
60+
hits: [0],
61+
},
62+
{
63+
pattern: 'bcd',
64+
hits: [1],
65+
},
66+
{
67+
pattern: 'xyz',
68+
hits: [],
69+
},
3470
],
3571
},
3672
{
@@ -88,6 +124,23 @@ const data = [
88124
},
89125
],
90126
},
127+
{
128+
string: 'xyyzxxyxzzzxyxyxxyzxyzxzxyxyzz',
129+
patterns: [
130+
{
131+
pattern: 'xyz',
132+
hits: [16, 19, 26],
133+
},
134+
{
135+
pattern: 'zz',
136+
hits: [8, 9, 28],
137+
},
138+
{
139+
pattern: 'xyx',
140+
hits: [5, 11, 13, 24],
141+
},
142+
],
143+
},
91144
];
92145

93146
export default data;

0 commit comments

Comments
 (0)