mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-01-06 14:08:54 +01:00
Added several test cases about alignment
This commit is contained in:
parent
9016ab58e0
commit
897952de06
11
test/005_alignment_single_line_hlvt.txt
Normal file
11
test/005_alignment_single_line_hlvt.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hlvt
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* foo */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/006_alignment_single_line_hlvc.txt
Normal file
11
test/006_alignment_single_line_hlvc.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hlvc
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* foo */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/007_alignment_single_line_hlvb.txt
Normal file
11
test/007_alignment_single_line_hlvb.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hlvb
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* foo */
|
||||
/*************/
|
||||
:EOF
|
11
test/008_alignment_single_line_hcvt.txt
Normal file
11
test/008_alignment_single_line_hcvt.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hcvt
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* foo */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/009_alignment_single_line_hcvc.txt
Normal file
11
test/009_alignment_single_line_hcvc.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hcvc
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* foo */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/010_alignment_single_line_hcvb.txt
Normal file
11
test/010_alignment_single_line_hcvb.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hcvb
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* foo */
|
||||
/*************/
|
||||
:EOF
|
11
test/011_alignment_single_line_hrvt.txt
Normal file
11
test/011_alignment_single_line_hrvt.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hrvt
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* foo */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/012_alignment_single_line_hrvc.txt
Normal file
11
test/012_alignment_single_line_hrvc.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hrvc
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* foo */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/013_alignment_single_line_hrvb.txt
Normal file
11
test/013_alignment_single_line_hrvb.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a hrvb
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* foo */
|
||||
/*************/
|
||||
:EOF
|
11
test/014_alignment_single_line_l.txt
Normal file
11
test/014_alignment_single_line_l.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a l
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* foo */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/015_alignment_single_line_c.txt
Normal file
11
test/015_alignment_single_line_c.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a c
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* foo */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
11
test/016_alignment_single_line_r.txt
Normal file
11
test/016_alignment_single_line_r.txt
Normal file
@ -0,0 +1,11 @@
|
||||
:ARGS
|
||||
-s 15x5 -a r
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* foo */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/017_alignment_multiline_hlvtjl.txt
Normal file
15
test/017_alignment_multiline_hlvtjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvtjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
16
test/018_alignment_multiline_hlvtjc.txt
Normal file
16
test/018_alignment_multiline_hlvtjc.txt
Normal file
@ -0,0 +1,16 @@
|
||||
The row of 'b's shows how position is rounded down if necessary.
|
||||
:ARGS
|
||||
-s 15x7 -a hlvtjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/019_alignment_multiline_hlvtjr.txt
Normal file
15
test/019_alignment_multiline_hlvtjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvtjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/020_alignment_multiline_hlvcjl.txt
Normal file
15
test/020_alignment_multiline_hlvcjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvcjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/021_alignment_multiline_hlvcjc.txt
Normal file
15
test/021_alignment_multiline_hlvcjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvcjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/022_alignment_multiline_hlvcjr.txt
Normal file
15
test/022_alignment_multiline_hlvcjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvcjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/023_alignment_multiline_hlvbjl.txt
Normal file
15
test/023_alignment_multiline_hlvbjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvbjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/024_alignment_multiline_hlvbjc.txt
Normal file
15
test/024_alignment_multiline_hlvbjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvbjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/025_alignment_multiline_hlvbjr.txt
Normal file
15
test/025_alignment_multiline_hlvbjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hlvbjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/026_alignment_multiline_hcvtjl.txt
Normal file
15
test/026_alignment_multiline_hcvtjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvtjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/027_alignment_multiline_hcvtjc.txt
Normal file
15
test/027_alignment_multiline_hcvtjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvtjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/028_alignment_multiline_hcvtjr.txt
Normal file
15
test/028_alignment_multiline_hcvtjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvtjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/029_alignment_multiline_hcvcjl.txt
Normal file
15
test/029_alignment_multiline_hcvcjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvcjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/030_alignment_multiline_hcvcjc.txt
Normal file
15
test/030_alignment_multiline_hcvcjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvcjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/031_alignment_multiline_hcvcjr.txt
Normal file
15
test/031_alignment_multiline_hcvcjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvcjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/032_alignment_multiline_hcvbjl.txt
Normal file
15
test/032_alignment_multiline_hcvbjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvbjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/033_alignment_multiline_hcvbjc.txt
Normal file
15
test/033_alignment_multiline_hcvbjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvbjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/034_alignment_multiline_hcvbjr.txt
Normal file
15
test/034_alignment_multiline_hcvbjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hcvbjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/035_alignment_multiline_hrvtjl.txt
Normal file
15
test/035_alignment_multiline_hrvtjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvtjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/036_alignment_multiline_hrvtjc.txt
Normal file
15
test/036_alignment_multiline_hrvtjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvtjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/037_alignment_multiline_hrvtjr.txt
Normal file
15
test/037_alignment_multiline_hrvtjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvtjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/038_alignment_multiline_hrvcjl.txt
Normal file
15
test/038_alignment_multiline_hrvcjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvcjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/039_alignment_multiline_hrvcjc.txt
Normal file
15
test/039_alignment_multiline_hrvcjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvcjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/040_alignment_multiline_hrvcjr.txt
Normal file
15
test/040_alignment_multiline_hrvcjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvcjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/041_alignment_multiline_hrvbjl.txt
Normal file
15
test/041_alignment_multiline_hrvbjl.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvbjl
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/042_alignment_multiline_hrvbjc.txt
Normal file
15
test/042_alignment_multiline_hrvbjc.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvbjc
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/043_alignment_multiline_hrvbjr.txt
Normal file
15
test/043_alignment_multiline_hrvbjr.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a hrvbjr
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/*************/
|
||||
:EOF
|
15
test/044_alignment_multiline_l.txt
Normal file
15
test/044_alignment_multiline_l.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a l
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/045_alignment_multiline_c.txt
Normal file
15
test/045_alignment_multiline_c.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a c
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
15
test/046_alignment_multiline_r.txt
Normal file
15
test/046_alignment_multiline_r.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-s 15x7 -a r
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
16
test/047_alignment_multiline_none.txt
Normal file
16
test/047_alignment_multiline_none.txt
Normal file
@ -0,0 +1,16 @@
|
||||
If no alignment option is given, text is aligned left and put in the top left corner.
|
||||
:ARGS
|
||||
-s 15x7
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
ccccc
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* ccccc */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
14
test/048_alignment_multiline_vertical_round_down.txt
Normal file
14
test/048_alignment_multiline_vertical_round_down.txt
Normal file
@ -0,0 +1,14 @@
|
||||
:ARGS
|
||||
-s 15x7 -a c
|
||||
:INPUT
|
||||
aaa
|
||||
bbbb
|
||||
:EXPECTED
|
||||
/*************/
|
||||
/* */
|
||||
/* aaa */
|
||||
/* bbbb */
|
||||
/* */
|
||||
/* */
|
||||
/*************/
|
||||
:EOF
|
7
test/049_alignment_illegal_format.txt
Normal file
7
test/049_alignment_illegal_format.txt
Normal file
@ -0,0 +1,7 @@
|
||||
:ARGS
|
||||
-a mistake
|
||||
:INPUT
|
||||
foo
|
||||
:EXPECTED-ERROR 1
|
||||
../src/boxes: Illegal text format -- mistake
|
||||
:EOF
|
13
test/050_alignment_multiline_nop1.txt
Normal file
13
test/050_alignment_multiline_nop1.txt
Normal file
@ -0,0 +1,13 @@
|
||||
:ARGS
|
||||
-s 11x7 -a c
|
||||
:INPUT
|
||||
XXXXX
|
||||
XXXXX
|
||||
XXXXX
|
||||
:EXPECTED
|
||||
/*********/
|
||||
/* XXXXX */
|
||||
/* XXXXX */
|
||||
/* XXXXX */
|
||||
/*********/
|
||||
:EOF
|
13
test/051_alignment_multiline_nop2.txt
Normal file
13
test/051_alignment_multiline_nop2.txt
Normal file
@ -0,0 +1,13 @@
|
||||
:ARGS
|
||||
-s 11x7 -a hrvbjr
|
||||
:INPUT
|
||||
XXXXX
|
||||
XXXXX
|
||||
XXXXX
|
||||
:EXPECTED
|
||||
/*********/
|
||||
/* XXXXX */
|
||||
/* XXXXX */
|
||||
/* XXXXX */
|
||||
/*********/
|
||||
:EOF
|
15
test/052_simple_line_comment.txt
Normal file
15
test/052_simple_line_comment.txt
Normal file
@ -0,0 +1,15 @@
|
||||
:ARGS
|
||||
-c #
|
||||
:INPUT
|
||||
a
|
||||
|
||||
bbb
|
||||
|
||||
|
||||
:EXPECTED
|
||||
# a
|
||||
#
|
||||
# bbb
|
||||
#
|
||||
#
|
||||
:EOF
|
Loading…
Reference in New Issue
Block a user