-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyVIKEYS_hist.unit
512 lines (446 loc) · 130 KB
/
yVIKEYS_hist.unit
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
#!/usr/local/bin/koios
# koios-polos (north star) -- customized c unit testing meta-program and mini-language
# program under test : yVIKEYS_hist
# auto-generated script file converted from a previous script version
#> ,x··11l··R- - - -¥··n··,y
#> ,x··46l··R0c 0r 0f -¥··n··,y
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- - 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= t ========(var)=======
PREP include the prototype headers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
incl include public header yVIKEYS.h - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
incl include private header yVIKEYS_priv.h - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- - 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= t ========(var)=======
SCRP (HIST ) verify history switcher yvikeys_hist__switcher ((01.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND verify program setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec setup the program yvikeys__unit_quiet i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND switch to search to see change - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_SEARCH , '-' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=SRCH, t=SRCH, c=SRCH, n=SRCH
COND switch to command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_COMMAND , '-' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND attempt to switch to other mode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_MAP , '-' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND switch to search, again - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_SEARCH , '-' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=SRCH, t=SRCH, c=SRCH, n=SRCH
COND attempt to switch to illegal mode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher "X" , '-' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND switch to command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_COMMAND , '-' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND switch to command (short-cut) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.008)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_COMMAND , '-' i_equal 1
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND switch to command (force) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.009)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_COMMAND , 'y' i_equal 0
get ... check current yvikeys_hist__unit "switch" , 0 s_equal HIST switch : h=CMDS, t=CMDS, c=CMDS, n=CMDS
COND verify program teardown - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((01.010)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec wrap-up the program yvikeys__unit_end i_equal 0
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- - 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= t ========(var)=======
SCRP (HIST ) verify adding and purging items yvikeys_hist__new, yvikeys_hist__purge ((02.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND verify program setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec setup the program yvikeys__unit_quiet i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 0a, 0c, 0s
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND add a new item to command - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec new entry yvikeys_hist__new MODE_COMMAND , "first" i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 1a, 1c, 0s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND add a new item to search - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec new entry yvikeys_hist__new MODE_SEARCH , "big_search" i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 2a, 1c, 1s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr s ( 0) : 10 big_search 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND attempt illegal entries - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec new entry yvikeys_hist__new MODE_COMMAND , NULL i_lesser 0
exec new entry yvikeys_hist__new MODE_SEARCH , NULL i_lesser 0
exec new entry yvikeys_hist__new MODE_COMMAND , "" i_lesser 0
exec new entry yvikeys_hist__new MODE_SEARCH , "" i_lesser 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 2a, 1c, 1s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr s ( 0) : 10 big_search 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND add a mix of new items - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec new entry yvikeys_hist__new MODE_COMMAND , "another with longer text in a contiguous string of garbage" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "looking for mr goodwrench" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "trying to find an honest politician" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "raise wages ;)" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "reduce taxes :o" i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND purge the commands only - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec clear out commands yvikeys_hist__purge MODE_COMMAND i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 3a, 0c, 3s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c (--) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND verify program teardown - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((02.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec wrap-up the program yvikeys__unit_end i_equal 0
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- - 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= t ========(var)=======
SCRP (HIST ) verify cursoring, indexing, finding, and rolling yvikeys_hist__cursor, yvikeys_hist__index, yvikeys_hist__find, yvikeys_hist__roll ((03.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND verify program setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec setup the program yvikeys__unit_quiet i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 0a, 0c, 0s
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : - - - - - -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND add a baseload of entries - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec new entry yvikeys_hist__new MODE_COMMAND , "first" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "big_search" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "another with longer text in a contiguous string of garbage" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "looking for mr goodwrench" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "trying to find an honest politician" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "raise wages ;)" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "reduce taxes :o" i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND perform basic forward cursoring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_COMMAND , '-' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec head yvikeys_hist__cursor '[' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec next yvikeys_hist__cursor '>' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f -
exec next yvikeys_hist__cursor '>' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 2) : 14 raise wages ;) 0c 0r 0f -
exec next yvikeys_hist__cursor '>' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec next (bounce) yvikeys_hist__cursor '>' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec next (bounce) yvikeys_hist__cursor '>' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec head yvikeys_hist__cursor '[' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec prev (bounce) yvikeys_hist__cursor '<' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec prev (bounce) yvikeys_hist__cursor '<' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
COND perform basic backward cursoring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec tail yvikeys_hist__cursor ']' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec prev yvikeys_hist__cursor '<' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 2) : 14 raise wages ;) 0c 0r 0f -
exec prev yvikeys_hist__cursor '<' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f -
exec prev yvikeys_hist__cursor '<' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec prev (bounce) yvikeys_hist__cursor '<' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec prev (bounce) yvikeys_hist__cursor '<' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec tail yvikeys_hist__cursor ']' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec next (bounce) yvikeys_hist__cursor '>' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec next (bounce) yvikeys_hist__cursor '>' i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
COND jump to specific indexes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec head (short-cut) yvikeys_hist__index -1 i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec tail (short-cut) yvikeys_hist__index 9999 i_equal 1
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec 3rd in list yvikeys_hist__index 2 i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 2) : 14 raise wages ;) 0c 0r 0f -
exec 2nd in list yvikeys_hist__index 1 i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f -
COND mix jumping and cursoring - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec 3rd in list yvikeys_hist__index 2 i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 2) : 14 raise wages ;) 0c 0r 0f -
exec prev yvikeys_hist__cursor '<' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f -
exec 1st in list yvikeys_hist__index 0 i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec next yvikeys_hist__cursor '>' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f -
COND jump to specific text - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec request head yvikeys_hist__find "first" i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec request partial of tail yvikeys_hist__find "reduce taxes" i_lesser 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec request tail yvikeys_hist__find "reduce taxes :o" i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec request null yvikeys_hist__find NULL i_lesser 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec request empty yvikeys_hist__find "" i_lesser 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec request 3rd yvikeys_hist__find "raise wages ;)" i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 2) : 14 raise wages ;) 0c 0r 0f -
COND verify rolling from middle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.008)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
exec go to 3rd in list yvikeys_hist__index 2 i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 2) : 14 raise wages ;) 0c 0r 0f -
exec roll to tail yvikeys_hist__roll i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 14 raise wages ;) 0c 0r 0f -
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
COND verify rolling from head (troublesome) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.009)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec go to head yvikeys_hist__index 0 i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 0) : 5 first 0c 0r 0f -
exec roll to tail yvikeys_hist__roll i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
COND verify rolling from tail (troublesome) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.010)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec tail yvikeys_hist__cursor ']' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 5 first 0c 0r 0f -
exec roll to tail yvikeys_hist__roll i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
COND verify program teardown - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((03.011)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec wrap-up the program yvikeys__unit_end i_equal 0
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- - 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= t ========(var)=======
SCRP (HIST ) verify marking, unmarking, and going to marked yvikeys_hist__mark, yvikeys_hist__unmark, yvikeys_hist__marked ((04.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND verify program setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec setup the program yvikeys__unit_quiet i_equal 0
COND add a baseload of entries - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec new entry yvikeys_hist__new MODE_COMMAND , "first" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "big_search" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "another with longer text in a contiguous string of garbage" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "looking for mr goodwrench" i_equal 0
exec new entry yvikeys_hist__new MODE_SEARCH , "trying to find an honest politician" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "raise wages ;)" i_equal 0
exec new entry yvikeys_hist__new MODE_COMMAND , "reduce taxes :o" i_equal 0
get ... check counts yvikeys_hist__unit "counts" , 0 s_equal HIST count : 7a, 4c, 3s
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND mark the current entry - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec call marking yvikeys_hist__mark 'a' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND mark another with the same mark (remove the old one) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.004)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec head yvikeys_hist__cursor '[' i_equal 0
exec next yvikeys_hist__cursor '>' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f -
exec call marking yvikeys_hist__mark 'a' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND mark a search with the same mark (leave command one) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.005)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_SEARCH , '-' i_equal 0
exec head yvikeys_hist__cursor '[' i_equal 0
exec next yvikeys_hist__cursor '>' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr s ( 1) : 25 looking for mr goodw 0c 0r 0f -
exec call marking yvikeys_hist__mark 'a' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr s ( 1) : 25 looking for mr goodw 0c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 5 first 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 58 another with longer 0c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 14 raise wages ;) 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 15 reduce taxes :o 0c 0r 0f -
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 0 s_equal HIST srch ( 0) : 10 big_search 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 1 s_equal HIST srch ( 1) : 25 looking for mr goodw 0c 0r 0f a
get ... check search history yvikeys_hist__unit "search" , 2 s_equal HIST srch ( 2) : 35 trying to find an ho 0c 0r 0f -
get ... check search history yvikeys_hist__unit "search" , 3 s_equal HIST srch ( 3) : - - - - - -
get ... check search history yvikeys_hist__unit "search" , 4 s_equal HIST srch ( 4) : - - - - - -
COND move and return to mark - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec tail yvikeys_hist__cursor ']' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr s ( 2) : 35 trying to find an ho 0c 0r 0f -
exec return to mark yvikeys_hist__marked 'a' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr s ( 1) : 25 looking for mr goodw 0c 0r 0f a
COND return to command mark - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.007)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec switch the mode yvikeys_hist__switcher MODE_COMMAND , '-' i_equal 0
exec tail yvikeys_hist__cursor ']' i_equal 0
get ... check command history yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 3) : 15 reduce taxes :o 0c 0r 0f -
exec return to mark yvikeys_hist__marked 'a' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 1) : 58 another with longer 0c 0r 0f a
COND verify program teardown - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.008)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec wrap-up the program yvikeys__unit_end i_equal 0
#23456789-12 123456789-123456789-123456789-12345 123456789-123456789-123456 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- 123456789- 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789- - 123456789-123456789-
#==(verb)=== ===========(description)=========== =====(function)=========== ========================(arguments)================================================================= ==(test)== ==========================(results)================================================================= t ========(var)=======
SCRP (HIST ) verify entries shown in history screen yvikeys_hist__entry ((05.---)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
COND verify program setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((05.001)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec setup the program yvikeys__unit_quiet i_equal 0
local create return variables - - - - - - - - - - - - - char x_entry [LEN_RECD];
COND two commands for testing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((06.002)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec command add yVIKEYS_cmds_add YVIKEYS_M_FILE , "test" , "t" , "cc" , yvikeys_cmds__test , "unit tester" i_equal 0
exec command add yVIKEYS_cmds_add YVIKEYS_M_FILE , "other" , "o" , "cc" , yvikeys_cmds__test , "unit tester" i_equal 0
COND enter a command and execute - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((06.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec handle the key yVIKEYS_main_string ":test 0 a¦" i_equal 0
exec handle the key yVIKEYS_main_string ":jo-jo¦" i_equal 0
exec handle the key yVIKEYS_main_string ":other + f¦" i_equal 0
exec handle the key yVIKEYS_main_string "::¦" i_equal 0
exec handle the key yVIKEYS_main_string "::1¦" i_equal 0
exec handle the key yVIKEYS_main_string "::2¦" i_equal 0
exec handle the key yVIKEYS_main_string ":¿ma¦" i_equal 0
exec handle the key yVIKEYS_main_string "::¦" i_equal 0
exec handle the key yVIKEYS_main_string ":other + f¦" i_equal 0
exec handle the key yVIKEYS_main_string ":¿mc¦" i_equal 0
exec handle the key yVIKEYS_main_string "::a¦" i_equal 0
exec handle the key yVIKEYS_main_string ":other - 2¦" i_equal 0
exec handle the key yVIKEYS_main_string ":¿mb¦" i_equal 0
exec handle the key yVIKEYS_main_string ":test 5 5¦" i_equal 0
exec handle the key yVIKEYS_main_string ":¿md¦" i_equal 0
exec handle the key yVIKEYS_main_string "::d¦" i_equal 0
exec handle the key yVIKEYS_main_string "::d¦" i_equal 0
exec handle the key yVIKEYS_main_string ":a very super long command string to see where it will get truncated¦" i_equal 0
get ... check command history yvikeys_hist__unit "command" , 0 s_equal HIST cmds ( 0) : 6 :jo-jo 2c -11r 0f -
get ... check command history yvikeys_hist__unit "command" , 1 s_equal HIST cmds ( 1) : 10 :other²+²f 3c 0r 103f c
get ... check command history yvikeys_hist__unit "command" , 2 s_equal HIST cmds ( 2) : 9 :test²0²a 4c 0r 0f a
get ... check command history yvikeys_hist__unit "command" , 3 s_equal HIST cmds ( 3) : 10 :other²-²2 1c 0r 49f b
get ... check command history yvikeys_hist__unit "command" , 4 s_equal HIST cmds ( 4) : 9 :test²5²5 3c 0r 58f d
get ... check command history yvikeys_hist__unit "command" , 5 s_equal HIST cmds ( 5) : 68 :a²very²super²long²c 1c -13r 0f -
get ... check command history yvikeys_hist__unit "command" , 6 s_equal HIST cmds ( 6) : - - - - - -
COND show next to last for good success example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec prev yvikeys_hist__cursor '<' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 4) : 9 :test²5²5 3c 0r 58f d
get get longer entry yvikeys_hist__entry x_entry , 60 , 'e' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal 4 :test²5²5 3c 0r 58f d
get get medium entry yvikeys_hist__entry x_entry , 40 , 'e' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal 4 :test²5²5 58f d
get get shorter entry yvikeys_hist__entry x_entry , 20 , 'e' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal :test²5²5 d
COND show last for good truncate and run failure example - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec prev yvikeys_hist__cursor ']' i_equal 0
get ... check current yvikeys_hist__unit "current" , 0 s_equal HIST curr c ( 5) : 68 :a²very²super²long²c 1c -13r 0f -
get get longer entry yvikeys_hist__entry x_entry , 60 , 'e' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal 5 :a²very²super²long²command²string²to²s> 1c -13r 0f -
get get medium entry yvikeys_hist__entry x_entry , 40 , 'e' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal 5 :a²very²super²long²command²s> 0f -
get get shorter entry yvikeys_hist__entry x_entry , 20 , 'e' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal :a²very²super²lon> -
COND verify emtpy lines - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
get get longer entry yvikeys_hist__entry x_entry , 60 , ' ' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ´ - ´
get get medium entry yvikeys_hist__entry x_entry , 40 , ' ' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ´ - ´
get get shorter entry yvikeys_hist__entry x_entry , 20 , ' ' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ´ - ´
COND verify header lines - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
get get longer entry yvikeys_hist__entry x_entry , 60 , 'h' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ref ----------COMMAND HISTORY-------------- runs exec retn m
get get medium entry yvikeys_hist__entry x_entry , 40 , 'h' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ref -----COMMAND HISTORY--------- retn m
get get shorter entry yvikeys_hist__entry x_entry , 20 , 'h' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ´--COMMAND HISTORY m
COND verify footer lines - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((04.006)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
get get longer entry yvikeys_hist__entry x_entry , 60 , 'f' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ¦ to choose, ¥ to leave, _KkjJ~ to move ´
get get medium entry yvikeys_hist__entry x_entry , 40 , 'f' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ¦ to choose, ¥ to leave, _KkjJ~ to mov ´
get get shorter entry yvikeys_hist__entry x_entry , 20 , 'f' i_equal 0
echo ... show entry - - - - - - - - - - - - - x_entry s_equal ¦ pick, ¥, _KkjJ~ ´
COND verify program teardown - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ((05.003)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exec wrap-up the program yvikeys__unit_end i_equal 0
# end-of-file