Skip to content

Commit 17b16d8

Browse files
authored
[quickfort] add functional tests for transformed expansion syntax (DFHack#2042)
* functional tests for transformed expansion syntax * test negative extents for tracks * update scripts tag
1 parent be32e35 commit 17b16d8

6 files changed

Lines changed: 84 additions & 50 deletions

File tree

Lines changed: 60 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,72 @@
11
#dig label(dig)
2-
,j
3-
u,d,u
4-
,j
2+
d,d,,,d
3+
d,,j,,d
4+
d,u,d,u,d
5+
d,,j
6+
d,,,d,d
57
#>
6-
,u
7-
j,d,j
8-
,u
8+
d,d,d,d,d
9+
,,u,,d
10+
,j,d,j
11+
d,,u
12+
d,,d,d,d
913
#>
10-
,j
11-
u,d,u
12-
,j
14+
d,d,,,d
15+
d,,j,,d
16+
d,u,d,u,d
17+
d,,j
18+
d,,,d,d
1319
#>
14-
,u
15-
j,d,j
16-
,u
20+
d,d,d,d,d
21+
,,u,,d
22+
,j,d,j
23+
d,,u
24+
d,,d,d,d
1725
#>
18-
,j
19-
u,d,u
20-
,j
26+
d,d,,,d
27+
d,,j,,d
28+
d,u,d,u,d
29+
d,,j
30+
d,,,d,d
2131
#>
22-
,u
23-
j,d,j
24-
,u
32+
d,d,d,d,d
33+
,,u,,d
34+
,j,d,j
35+
d,,u
36+
d,,d,d,d
2537
#>
26-
,j
27-
u,d,u
28-
,j
38+
d,d,,,d
39+
d,,j,,d
40+
d,u,d,u,d
41+
d,,j
42+
d,,,d,d
2943
#>
30-
,u
31-
j,d,j
32-
,u
44+
d,d,d,d,d
45+
,,u,,d
46+
,j,d,j
47+
d,,u
48+
d,,d,d,d
3349
#>
34-
,j
35-
u,d,u
36-
,j
50+
d,d,,,d
51+
d,,j,,d
52+
d,u,d,u,d
53+
d,,j
54+
d,,,d,d
3755
#>
38-
,u
39-
j,d,j
40-
,u
56+
d,d,d,d,d
57+
,,u,,d
58+
,j,d,j
59+
d,,u
60+
d,,d,d,d
4161
#>
42-
,j
43-
u,d,u
44-
,j
62+
d,d,,,d
63+
d,,j,,d
64+
d,u,d,u,d
65+
d,,j
66+
d,,,d,d
4567
#>
46-
,u
47-
j,d,j
48-
,u
68+
d,d,d,d,d
69+
,,u,,d
70+
,j,d,j
71+
d,,u
72+
d,,d,d,d

data/blueprints/library/test/ecosystem/in/meta-dig.csv

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,27 @@
22
tests recursive meta composition, z-level manipulation, transformations, and
33
repeat up/down
44

5-
#dig label(center_tile) start(2 2) hidden()
5+
#dig label(border) start(3 3) hidden()
6+
d(2x1),,,,d(1x3)
67

7-
,d,
8-
#dig label(even_up) start(2 2) hidden()
98

10-
u,,u
11-
#dig label(even_down) start(2 2) hidden()
12-
,j
139

14-
,j
10+
d(1x-4),,,,d(-2x1)
11+
#dig label(center_tile) start(3 3) hidden()
12+
13+
14+
,,d
15+
#dig label(even_up) start(3 3) hidden()
16+
17+
18+
,u,,u
19+
#dig label(even_down) start(3 3) hidden()
20+
21+
,,j
22+
23+
,,j
1524
#meta label(even) hidden()
25+
/border
1626
/even_up
1727
/even_down
1828
#meta label(odd) hidden()
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#notes
22
description=meta coverage test
3-
width=3
4-
height=3
3+
width=5
4+
height=5
55
depth=12
6-
"start=2,2"
6+
"start=3,3"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#dig label(dig)
22
d,d,d,d,d
3-
d,h,d,h,d
3+
d,h,,h,d
44
#>
55

66
,r,d,r
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#dig label(track)
2-
T(5x2),,,,T(1x2)
3-
trackNE,,,,trackNW
2+
T(5x2)
3+
,,,,T(-5x-2)
44
#>
55

66
T(5x1)

0 commit comments

Comments
 (0)