projects/aports·blob master · refs

953 lines · 47.4 KiB

1diff --git a/utest/main.c b/utest/main.c
2index 8f836d7..71efeb7 100644
3--- a/utest/main.c
4+++ b/utest/main.c
5@@ -117,8 +117,7 @@ int main(void)
6 cmocka_unit_test(test_is_allowed_in_shape),
7 cmocka_unit_test(test_is_allowed_in_filename),
8 cmocka_unit_test(test_is_allowed_in_kv_string),
9- cmocka_unit_test(test_u32_strnrstr),
10- cmocka_unit_test(test_u32_insert_space_at)
11+ cmocka_unit_test(test_u32_strnrstr)
12 };
13
14 const struct CMUnitTest bxstring_tests[] = {
15diff --git a/test/095_ansi_basic.txt b/test/095_ansi_basic.txt
16deleted file mode 100644
17index 95deccd..0000000
18--- a/test/095_ansi_basic.txt
19+++ /dev/null
20@@ -1,9 +0,0 @@
21-:ARGS
22-:INPUT
23-abcdef
24-:OUTPUT-FILTER
25-:EXPECTED
26-/**********/
27-/* abcdef */
28-/**********/
29-:EOF
30diff --git a/test/096_ansi_within.txt b/test/096_ansi_within.txt
31deleted file mode 100644
32index f662b35..0000000
33--- a/test/096_ansi_within.txt
34+++ /dev/null
35@@ -1,9 +0,0 @@
36-:ARGS
37-:INPUT
38-abcdef
39-:OUTPUT-FILTER
40-:EXPECTED
41-/**********/
42-/* abcdef */
43-/**********/
44-:EOF
45diff --git a/test/097_ansi_mixed.txt b/test/097_ansi_mixed.txt
46deleted file mode 100644
47index f069a31..0000000
48--- a/test/097_ansi_mixed.txt
49+++ /dev/null
50@@ -1,17 +0,0 @@
51-:ARGS
52-:INPUT
53-normal
54-with some formating
55-formating past line end
56-and into next
57-normal again
58-:OUTPUT-FILTER
59-:EXPECTED
60-/***************************/
61-/* normal */
62-/* with some formating */
63-/* formating past line end */
64-/* and into next */
65-/* normal again */
66-/***************************/
67-:EOF
68diff --git a/test/098_ansi_mixed_indent.txt b/test/098_ansi_mixed_indent.txt
69deleted file mode 100644
70index 6809734..0000000
71--- a/test/098_ansi_mixed_indent.txt
72+++ /dev/null
73@@ -1,17 +0,0 @@
74-:ARGS
75-:INPUT
76- normal
77- with some formating
78- formating past line end
79- and into next
80- normal again
81-:OUTPUT-FILTER
82-:EXPECTED
83- /***************************/
84- /* normal */
85- /* with some formating */
86- /* formating past line end */
87- /* and into next */
88- /* normal again */
89- /***************************/
90-:EOF
91diff --git a/test/100_ansi_align_center.txt b/test/100_ansi_align_center.txt
92deleted file mode 100644
93index e45aec7..0000000
94--- a/test/100_ansi_align_center.txt
95+++ /dev/null
96@@ -1,18 +0,0 @@
97-:ARGS
98--ac
99-:INPUT
100-normal
101-with some formating
102-formating past line end
103-and into next
104-normal again
105-:OUTPUT-FILTER
106-:EXPECTED
107-/***************************/
108-/* normal */
109-/* with some formating */
110-/* formating past line end */
111-/* and into next */
112-/* normal again */
113-/***************************/
114-:EOF
115diff --git a/test/101_ansi_align_right.txt b/test/101_ansi_align_right.txt
116deleted file mode 100644
117index ee56531..0000000
118--- a/test/101_ansi_align_right.txt
119+++ /dev/null
120@@ -1,18 +0,0 @@
121-:ARGS
122--ar
123-:INPUT
124-normal
125-with some formating
126-formating past line end
127-and into next
128-normal again
129-:OUTPUT-FILTER
130-:EXPECTED
131-/***************************/
132-/* normal */
133-/* with some formating */
134-/* formating past line end */
135-/* and into next */
136-/* normal again */
137-/***************************/
138-:EOF
139diff --git a/test/102_ansi_size.txt b/test/102_ansi_size.txt
140deleted file mode 100644
141index 9681368..0000000
142--- a/test/102_ansi_size.txt
143+++ /dev/null
144@@ -1,21 +0,0 @@
145-:ARGS
146--s35x10
147-:INPUT
148-normal
149-with some formating
150-formating past line end
151-and into next
152-normal again
153-:OUTPUT-FILTER
154-:EXPECTED
155-/*********************************/
156-/* normal */
157-/* with some formating */
158-/* formating past line end */
159-/* and into next */
160-/* normal again */
161-/* */
162-/* */
163-/* */
164-/*********************************/
165-:EOF
166diff --git a/test/103_ansi_pad.txt b/test/103_ansi_pad.txt
167deleted file mode 100644
168index c2b59bf..0000000
169--- a/test/103_ansi_pad.txt
170+++ /dev/null
171@@ -1,28 +0,0 @@
172-:ARGS
173--pa5
174-:INPUT
175-normal
176-with some formating
177-formating past line end
178-and into next
179-normal again
180-:OUTPUT-FILTER
181-:EXPECTED
182-/***********************************/
183-/* */
184-/* */
185-/* */
186-/* */
187-/* */
188-/* normal */
189-/* with some formating */
190-/* formating past line end */
191-/* and into next */
192-/* normal again */
193-/* */
194-/* */
195-/* */
196-/* */
197-/* */
198-/***********************************/
199-:EOF
200diff --git a/test/105_ansi_lolcat_within_leading_space.txt b/test/105_ansi_lolcat_within_leading_space.txt
201deleted file mode 100644
202index 19bbd37..0000000
203--- a/test/105_ansi_lolcat_within_leading_space.txt
204+++ /dev/null
205@@ -1,11 +0,0 @@
206-:ARGS
207-:INPUT
208-    There is no complete theory of anything.
209-     Robert Anton Wilson
210-:OUTPUT-FILTER
211-:EXPECTED
212- /********************************************/
213- /* There is no complete theory of anything. */
214- /*  Robert Anton Wilson */
215- /********************************************/
216-:EOF
217diff --git a/test/107_unicode_align_left_lolcat.txt b/test/107_unicode_align_left_lolcat.txt
218deleted file mode 100644
219index 8e207f9..0000000
220--- a/test/107_unicode_align_left_lolcat.txt
221+++ /dev/null
222@@ -1,50 +0,0 @@
223-:ARGS
224--n UTF-8 -al
225-:INPUT
226-         a
227-     ab
228-     abc
229-   abcd
230-   abcde
231-   abcdef
232-   abcdefg
233-   abcdefgh
234-         試
235-     常盤
236-   運作能
237-   申見売映
238-   海棋事行変
239-          ä
240-     äb
241-     äbç
242-   äbçd
243-   äbçdé
244-   äbçdéf
245-   äbçdéfg
246-   äbçdéfgh
247-:OUTPUT-FILTER
248-:EXPECTED
249- /**************/
250- /* a */
251- /* ab */
252- /* abc */
253- /* abcd */
254- /* abcde */
255- /* abcdef */
256- /* abcdefg */
257- /* abcdefgh */
258- /* 試 */
259- /* 常盤 */
260- /* 運作能 */
261- /* 申見売映 */
262- /* 海棋事行変 */
263- /* ä */
264- /* äb */
265- /* äbç */
266- /* äbçd */
267- /* äbçdé */
268- /* äbçdéf */
269- /* äbçdéfg */
270- /* äbçdéfgh */
271- /**************/
272-:EOF
273diff --git a/test/108_unicode_align_center_lolcat.txt b/test/108_unicode_align_center_lolcat.txt
274deleted file mode 100644
275index b58f6b0..0000000
276--- a/test/108_unicode_align_center_lolcat.txt
277+++ /dev/null
278@@ -1,50 +0,0 @@
279-:ARGS
280--n UTF-8 -ac
281-:INPUT
282-         a
283-     ab
284-     abc
285-   abcd
286-   abcde
287-   abcdef
288-   abcdefg
289-   abcdefgh
290-         試
291-     常盤
292-   運作能
293-   申見売映
294-   海棋事行変
295-          ä
296-     äb
297-     äbç
298-   äbçd
299-   äbçdé
300-   äbçdéf
301-   äbçdéfg
302-   äbçdéfgh
303-:OUTPUT-FILTER
304-:EXPECTED
305- /**************/
306- /*     a */
307- /*   ab */
308- /*   abc */
309- /* abcd */
310- /* abcde */
311- /* abcdef */
312- /* abcdefg */
313- /* abcdefgh */
314- /*     試 */
315- /*   常盤 */
316- /* 運作能 */
317- /* 申見売映 */
318- /* 海棋事行変 */
319- /*     ä */
320- /*   äb */
321- /*   äbç */
322- /* äbçd */
323- /* äbçdé */
324- /* äbçdéf */
325- /* äbçdéfg */
326- /* äbçdéfgh */
327- /**************/
328-:EOF
329diff --git a/test/109_unicode_align_right_lolcat.txt b/test/109_unicode_align_right_lolcat.txt
330deleted file mode 100644
331index 313e461..0000000
332--- a/test/109_unicode_align_right_lolcat.txt
333+++ /dev/null
334@@ -1,50 +0,0 @@
335-:ARGS
336--n UTF-8 -ar
337-:INPUT
338-         a
339-     ab
340-     abc
341-   abcd
342-   abcde
343-   abcdef
344-   abcdefg
345-   abcdefgh
346-         試
347-     常盤
348-   運作能
349-   申見売映
350-   海棋事行変
351-          ä
352-     äb
353-     äbç
354-   äbçd
355-   äbçdé
356-   äbçdéf
357-   äbçdéfg
358-   äbçdéfgh
359-:OUTPUT-FILTER
360-:EXPECTED
361- /**************/
362- /*       a */
363- /*   ab */
364- /*   abc */
365- /* abcd */
366- /* abcde */
367- /* abcdef */
368- /* abcdefg */
369- /* abcdefgh */
370- /*       試 */
371- /*   常盤 */
372- /* 運作能 */
373- /* 申見売映 */
374- /* 海棋事行変 */
375- /*        ä */
376- /*   äb */
377- /*   äbç */
378- /* äbçd */
379- /* äbçdé */
380- /* äbçdéf */
381- /* äbçdéfg */
382- /* äbçdéfgh */
383- /**************/
384-:EOF
385diff --git a/test/110_unicode_align_complex_lolcat.txt b/test/110_unicode_align_complex_lolcat.txt
386deleted file mode 100644
387index 6ed6356..0000000
388--- a/test/110_unicode_align_complex_lolcat.txt
389+++ /dev/null
390@@ -1,53 +0,0 @@
391-:ARGS
392--n UTF-8 -ahrvbjr -ph3 -sx26
393-:INPUT
394-         a
395-     ab
396-     abc
397-   abcd
398-   abcde
399-   abcdef
400-   abcdefg
401-   abcdefgh
402-         試
403-     常盤
404-   運作能
405-   申見売映
406-   海棋事行変
407-          ä
408-     äb
409-     äbç
410-   äbçd
411-   äbçdé
412-   äbçdéf
413-   äbçdéfg
414-   äbçdéfgh
415-:OUTPUT-FILTER
416-:EXPECTED
417- /******************/
418- /* */
419- /* */
420- /* */
421- /*       a */
422- /*   ab */
423- /*   abc */
424- /* abcd */
425- /* abcde */
426- /* abcdef */
427- /* abcdefg */
428- /* abcdefgh */
429- /*       試 */
430- /*   常盤 */
431- /* 運作能 */
432- /* 申見売映 */
433- /* 海棋事行変 */
434- /*        ä */
435- /*   äb */
436- /*   äbç */
437- /* äbçd */
438- /* äbçdé */
439- /* äbçdéf */
440- /* äbçdéfg */
441- /* äbçdéfgh */
442- /******************/
443-:EOF
444diff --git a/test/113_headline_ansi_unicode.txt b/test/113_headline_ansi_unicode.txt
445deleted file mode 100644
446index 4bf55f4..0000000
447--- a/test/113_headline_ansi_unicode.txt
448+++ /dev/null
449@@ -1,10 +0,0 @@
450-:ARGS
451--n UTF-8 -d headline -p l3r1
452-:INPUT
453-   foo 海 bar
454-:OUTPUT-FILTER
455-:EXPECTED
456- /**************************/
457- /* f o o  海  b a r  */
458- /**************************/
459-:EOF
460diff --git a/test/117_unicode_ansi_mending.txt b/test/117_unicode_ansi_mending.txt
461deleted file mode 100644
462index 6081f83..0000000
463--- a/test/117_unicode_ansi_mending.txt
464+++ /dev/null
465@@ -1,40 +0,0 @@
466-:DESC
467-This test case checks that a broken box with unicode and ansi sequences can be properly mended.
468-:ARGS
469--n UTF-8 -d diamonds -ac -m
470-:INPUT
471- /\ /\ /\ /\
472- /\//\\/\ /\//\\/\ /\//\\/\ /\//\\/\
473- /\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\
474-//\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\
475-\\//\/ \/\\//
476- \/ \/
477- /\ 申提小作氷食京豆贈画容平上護整的京。 /\
478-//\\ 筑にじルげ物綱て流43写タフウ
479-\\// Y4 n0w 54y, (pdf) 1nDeX3D \\//
480- \/ Lorem ipsum. \/
481- /\ /\
482-//\\/\ /\//\\
483-\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\//
484- \/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/
485- \/\\//\/ \/\\//\/ \/\\//\/ \/\\//\/
486- \/ \/ \/ jgs \/
487-:OUTPUT-FILTER
488-:EXPECTED
489- /\ /\ /\ /\
490- /\//\\/\ /\//\\/\ /\//\\/\ /\//\\/\
491- /\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\
492- //\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\
493- \\//\/ \/\\//
494- \/ \/
495- /\ 申提小作氷食京豆贈画容平上護整的京。 /\
496- //\\ 筑にじルげ物綱て流43写タフウ //\\
497- \\// Y4 n0w 54y, (pdf) 1nDeX3D \\//
498- \/ Lorem ipsum. \/
499- /\ /\
500- //\\/\ /\//\\
501- \\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\//
502- \/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/
503- \/\\//\/ \/\\//\/ \/\\//\/ \/\\//\/
504- \/ \/ \/ jgs \/
505-:EOF
506diff --git a/test/118_unicode_ansi_align_center.txt b/test/118_unicode_ansi_align_center.txt
507deleted file mode 100644
508index 8933b7f..0000000
509--- a/test/118_unicode_ansi_align_center.txt
510+++ /dev/null
511@@ -1,31 +0,0 @@
512-:DESC
513-Center align colored unicode text.
514-:ARGS
515--n UTF-8 -d unicornsay -ac
516-:INPUT
517-         試
518-     常盤
519-   運作能
520-   申見売映
521-   海棋事行変
522-   föóbéç¿
523-:OUTPUT-FILTER
524-:EXPECTED
525- ______________
526- / \
527- |     試 |
528- |   常盤 |
529- | 運作能 |
530- | 申見売映 |
531- | 海棋事行変 |
532- | föóbéç¿ |
533- \________ __'\
534- |/ \\
535- \ \\ .
536- |\\/|
537- / " '\
538- . . .
539- / ) |
540- ' _.' |
541- '-'/ \
542-:EOF
543diff --git a/test/119_unicode_ansi_align_right.txt b/test/119_unicode_ansi_align_right.txt
544deleted file mode 100644
545index e74fc09..0000000
546--- a/test/119_unicode_ansi_align_right.txt
547+++ /dev/null
548@@ -1,31 +0,0 @@
549-:DESC
550-Right align colored unicode text.
551-:ARGS
552--n UTF-8 -d unicornsay -ar
553-:INPUT
554-         試
555-     常盤
556-   運作能
557-   申見売映
558-   海棋事行変
559-   föóbéç¿
560-:OUTPUT-FILTER
561-:EXPECTED
562- ______________
563- / \
564- |       試 |
565- |   常盤 |
566- | 運作能 |
567- | 申見売映 |
568- | 海棋事行変 |
569- | föóbéç¿ |
570- \________ __'\
571- |/ \\
572- \ \\ .
573- |\\/|
574- / " '\
575- . . .
576- / ) |
577- ' _.' |
578- '-'/ \
579-:EOF
580diff --git a/test/126_config_file_xdg3.txt b/test/126_config_file_xdg3.txt
581deleted file mode 100644
582index bc7a9a2..0000000
583--- a/test/126_config_file_xdg3.txt
584+++ /dev/null
585@@ -1,15 +0,0 @@
586-:DESC
587-Because of historic boxes behavior, a config file in $HOME has precedence over one in $XDG_CONFIG_HOME/boxes.
588-
589-:ENV
590-export HOME="`pwd`/126_data/home"
591-export XDG_CONFIG_HOME="`pwd`/126_data/xdg"
592-:ARGS
593-:INPUT
594-foo
595-:OUTPUT-FILTER
596-:EXPECTED
597-#123123---456#
598-#foo #
599-#12345<>67890#
600-:EOF
601diff --git a/test/132_parent_configs_speedmode.txt b/test/132_parent_configs_speedmode.txt
602deleted file mode 100644
603index d9f88ab..0000000
604--- a/test/132_parent_configs_speedmode.txt
605+++ /dev/null
606@@ -1,13 +0,0 @@
607-:DESC
608-The parent ref is found even while skipping over designs to find the specified one.
609-
610-:ARGS
611--f 132_data/B.cfg -avc -d designD
612-:INPUT
613-foo
614-:OUTPUT-FILTER
615-:EXPECTED
616-DDD
617-DDD foo
618-DDD
619-:EOF
620diff --git a/test/176_utf8_design_list.txt b/test/176_utf8_design_list.txt
621deleted file mode 100644
622index 2722bff..0000000
623--- a/test/176_utf8_design_list.txt
624+++ /dev/null
625@@ -1,24 +0,0 @@
626-:ARGS
627--f 176_utf8_design_list.cfg -l
628-:INPUT
629-:OUTPUT-FILTER
630-:EXPECTED
631-2 Available Styles in "176_utf8_design_list.cfg":
632--------------------------------------------------
633-
634-designA
635-John Doe, coded by 沐宸:
636-
637- ┏━ 沐宸 若汐 ━┓
638- ┃ ⧹
639- ┃ ╱
640- ┗━━━━━━━━━━━━━┛
641-
642-
643-designB
644-沐宸, coded by John Doe:
645-
646- shape
647-
648-
649-:EOF
650diff --git a/test/177_utf8_generate_box.txt b/test/177_utf8_generate_box.txt
651deleted file mode 100644
652index c6fe7f7..0000000
653--- a/test/177_utf8_generate_box.txt
654+++ /dev/null
655@@ -1,15 +0,0 @@
656-:ARGS
657--f 177_utf8_generate_box.cfg -s 21x8 -ac
658-:INPUT
659-fäo
660-:OUTPUT-FILTER
661-:EXPECTED
662-┏━┳━━━ 沐宸 若汐 ━━━┓
663-┃ ┃ ┋
664-┃ ┃ ┃
665-┃ ┃ föo ┋
666-┃ ┃ ┃
667-┃ ┃ ┋
668-┣━╋━━━━━━━━━━━━━━━━━┫
669-┗━┻━━━━━━━━━━━━━━━━━┛
670-:EOF
671diff --git a/test/184_create_box_colored_contents.txt b/test/184_create_box_colored_contents.txt
672deleted file mode 100644
673index b832a75..0000000
674--- a/test/184_create_box_colored_contents.txt
675+++ /dev/null
676@@ -1,15 +0,0 @@
677-:DESC
678-Creates a unicode box which also colors its contents.
679-
680-:ARGS
681--d critical -i box
682-:INPUT
683- Aaargh, let go of me!
684-:OUTPUT-FILTER
685-:EXPECTED
686- ▄▄ CRITICAL ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
687- █ █
688- █ Aaargh, let go of me! █
689- █ █
690- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
691-:EOF
692diff --git a/boxes-config b/boxes-config
693index 4f93c4f..69695cc 100644
694--- a/boxes-config
695+++ b/boxes-config
696@@ -3026,150 +3026,6 @@ END tux
697 # ============================================================================
698
699
700-BOX info
701-
702-author "Thomas Jensen"
703-designer "Thomas Jensen"
704-tags ("box", "color", "simple", "unicode")
705-
706-sample
707- ▄▄ INFO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
708- █ █
709- █ This is an informational message. █
710- █ Don't worry about it. █
711- █ █
712- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
713-ends
714-
715-# Monochrome sample:
716-# ▄▄ INFO ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
717-# █ █
718-# █ This is an informational message. █
719-# █ Don't worry about it. █
720-# █ █
721-# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
722-
723-shapes {
724- nw ("▄")
725- nnw ("▄ INFO ")
726- n ("▄")
727- ne ("▄")
728- w ("█")
729- e ("█")
730- sw ("▀")
731- s ("▀")
732- se ("▀")
733-}
734-
735-elastic (n, s, e, w)
736-
737-padding {
738- horizontal 2
739- vertical 1
740-}
741-
742-END info
743-
744-
745-# ============================================================================
746-
747-
748-BOX warning
749-
750-author "Thomas Jensen"
751-designer "Thomas Jensen"
752-tags ("box", "color", "simple", "unicode")
753-
754-sample
755- ▄▄ WARNING ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
756- █ █
757- █ Sub-zero temperatures expected. █
758- █ Please drive carefully. █
759- █ █
760- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
761-ends
762-
763-# Monochrome sample:
764-# ▄▄ WARNING ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
765-# █ █
766-# █ Sub-zero temperatures expected. █
767-# █ Please drive carefully. █
768-# █ █
769-# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
770-
771-shapes {
772- nw ("▄")
773- nnw ("▄ WARNING ")
774- n ("▄")
775- ne ("▄")
776- w ("█")
777- e ("█")
778- sw ("▀")
779- s ("▀")
780- se ("▀")
781-}
782-
783-elastic (n, s, e, w)
784-
785-padding {
786- horizontal 2
787- vertical 1
788-}
789-
790-END warning
791-
792-
793-# ============================================================================
794-
795-
796-BOX critical
797-
798-author "Thomas Jensen"
799-designer "Thomas Jensen"
800-tags ("box", "color", "simple", "unicode")
801-
802-sample
803- ▄▄ CRITICAL ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
804- █ █
805- █ Coolant levels below minimum. █
806- █ Disengage main drive and stop for repairs. █
807- █ █
808- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
809-ends
810-
811-# Monochrome sample:
812-# ▄▄ CRITICAL ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
813-# █ █
814-# █ Coolant levels below minimum. █
815-# █ Disengage main drive and stop for repairs. █
816-# █ █
817-# ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
818-
819-shapes {
820- nw ("▄")
821- nnw ("▄ CRITICAL ")
822- n ("▄")
823- ne ("▄")
824- w ("█")
825- e ("█")
826- sw ("▀")
827- s ("▀")
828- se ("▀")
829-}
830-
831-elastic (n, s, e, w)
832-
833-padding {
834- horizontal 2
835- vertical 1
836-}
837-
838-END critical
839-
840-
841-# ============================================================================
842-
843-
844 BOX ansi
845
846 author "chorpler"
847diff --git a/test/099_ansi_align_left.txt b/test/099_ansi_align_left.txt
848deleted file mode 100644
849index 3c34a91..0000000
850--- a/test/099_ansi_align_left.txt
851+++ /dev/null
852@@ -1,18 +0,0 @@
853-:ARGS
854--al
855-:INPUT
856-normal
857-with some formating
858-formating past line end
859-and into next
860-normal again
861-:OUTPUT-FILTER
862-:EXPECTED
863-/***************************/
864-/* normal */
865-/* with some formating */
866-/* formating past line end */
867-/* and into next */
868-/* normal again */
869-/***************************/
870-:EOF
871diff --git a/test/104_ansi_lolcat.txt b/test/104_ansi_lolcat.txt
872deleted file mode 100644
873index f5ae847..0000000
874--- a/test/104_ansi_lolcat.txt
875+++ /dev/null
876@@ -1,12 +0,0 @@
877-:ARGS
878--ar
879-:INPUT
880-There is no complete theory of anything.
881- Robert Anton Wilson
882-:OUTPUT-FILTER
883-:EXPECTED
884-/********************************************/
885-/* There is no complete theory of anything. */
886-/*  Robert Anton Wilson */
887-/********************************************/
888-:EOF
889diff --git a/test/185_remove_box_uncolor_contents.txt b/test/185_remove_box_uncolor_contents.txt
890deleted file mode 100644
891index b7c9968..0000000
892--- a/test/185_remove_box_uncolor_contents.txt
893+++ /dev/null
894@@ -1,15 +0,0 @@
895-:DESC
896-Removes a unicode box which had colored its contents, restoring the original monochrome text.
897-
898-:ARGS
899--r
900-:INPUT
901- ▄▄ CRITICAL ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
902- █ █
903- █ Aaargh, let go of me! █
904- █ █
905- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
906-:OUTPUT-FILTER
907-:EXPECTED
908- Aaargh, let go of me!
909-:EOF
910diff --git a/test/150_tag_config_invalid_tags.txt b/test/150_tag_config_invalid_tags.txt
911deleted file mode 100644
912index c559888..0000000
913--- a/test/150_tag_config_invalid_tags.txt
914+++ /dev/null
915@@ -1,38 +0,0 @@
916-:ARGS
917--f 150_tag_config_invalid_tags.cfg -l
918-:INPUT
919-:OUTPUT-FILTER
920-:EXPECTED
921-boxes: 150_tag_config_invalid_tags.cfg: line 32: invalid tag -- Invalid1
922-boxes: 150_tag_config_invalid_tags.cfg: line 32: invalid tag -- 2invalid
923-boxes: 150_tag_config_invalid_tags.cfg: line 32: invalid tag -- invalid3-
924-boxes: 150_tag_config_invalid_tags.cfg: line 32: invalid tag -- -invalid4
925-boxes: 150_tag_config_invalid_tags.cfg: line 32: invalid tag -- in--valid5
926-boxes: 150_tag_config_invalid_tags.cfg: line 33: invalid tag -- in space valid6
927-boxes: 150_tag_config_invalid_tags.cfg: line 59: invalid tag -- in space valid7
928-3 Available Styles in "150_tag_config_invalid_tags.cfg":
929---------------------------------------------------------
930-
931-designA:
932-
933- AAA
934- AAA foo
935- AAA
936-
937-
938-designB:
939-
940- BBB
941- BBB foo
942- BBB
943-
944-
945-designC:
946-
947- CCC
948- CCC foo
949- CCC
950-
951-
952-tag1 (1) | tag2 (1) | tag3 (1) | tag4 (1) | tag5 (1) | tag6 (1)
953-:EOF