[quickfort] add functional tests for transformed expansion syntax (#2042)

* functional tests for transformed expansion syntax
* test negative extents for tracks
* update scripts tag
develop
Myk 2022-03-21 16:24:51 -07:00 committed by GitHub
parent be32e35642
commit 17b16d8536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 84 additions and 50 deletions

@ -1,48 +1,72 @@
#dig label(dig)
,j
u,d,u
,j
d,d,,,d
d,,j,,d
d,u,d,u,d
d,,j
d,,,d,d
#>
,u
j,d,j
,u
d,d,d,d,d
,,u,,d
,j,d,j
d,,u
d,,d,d,d
#>
,j
u,d,u
,j
d,d,,,d
d,,j,,d
d,u,d,u,d
d,,j
d,,,d,d
#>
,u
j,d,j
,u
d,d,d,d,d
,,u,,d
,j,d,j
d,,u
d,,d,d,d
#>
,j
u,d,u
,j
d,d,,,d
d,,j,,d
d,u,d,u,d
d,,j
d,,,d,d
#>
,u
j,d,j
,u
d,d,d,d,d
,,u,,d
,j,d,j
d,,u
d,,d,d,d
#>
,j
u,d,u
,j
d,d,,,d
d,,j,,d
d,u,d,u,d
d,,j
d,,,d,d
#>
,u
j,d,j
,u
d,d,d,d,d
,,u,,d
,j,d,j
d,,u
d,,d,d,d
#>
,j
u,d,u
,j
d,d,,,d
d,,j,,d
d,u,d,u,d
d,,j
d,,,d,d
#>
,u
j,d,j
,u
d,d,d,d,d
,,u,,d
,j,d,j
d,,u
d,,d,d,d
#>
,j
u,d,u
,j
d,d,,,d
d,,j,,d
d,u,d,u,d
d,,j
d,,,d,d
#>
,u
j,d,j
,u
d,d,d,d,d
,,u,,d
,j,d,j
d,,u
d,,d,d,d

1 #dig label(dig)
2 ,j d,d,,,d
3 u,d,u d,,j,,d
4 ,j d,u,d,u,d
5 d,,j
6 d,,,d,d
7 #>
8 ,u d,d,d,d,d
9 j,d,j ,,u,,d
10 ,u ,j,d,j
11 d,,u
12 d,,d,d,d
13 #>
14 ,j d,d,,,d
15 u,d,u d,,j,,d
16 ,j d,u,d,u,d
17 d,,j
18 d,,,d,d
19 #>
20 ,u d,d,d,d,d
21 j,d,j ,,u,,d
22 ,u ,j,d,j
23 d,,u
24 d,,d,d,d
25 #>
26 ,j d,d,,,d
27 u,d,u d,,j,,d
28 ,j d,u,d,u,d
29 d,,j
30 d,,,d,d
31 #>
32 ,u d,d,d,d,d
33 j,d,j ,,u,,d
34 ,u ,j,d,j
35 d,,u
36 d,,d,d,d
37 #>
38 ,j d,d,,,d
39 u,d,u d,,j,,d
40 ,j d,u,d,u,d
41 d,,j
42 d,,,d,d
43 #>
44 ,u d,d,d,d,d
45 j,d,j ,,u,,d
46 ,u ,j,d,j
47 d,,u
48 d,,d,d,d
49 #>
50 ,j d,d,,,d
51 u,d,u d,,j,,d
52 ,j d,u,d,u,d
53 d,,j
54 d,,,d,d
55 #>
56 ,u d,d,d,d,d
57 j,d,j ,,u,,d
58 ,u ,j,d,j
59 d,,u
60 d,,d,d,d
61 #>
62 ,j d,d,,,d
63 u,d,u d,,j,,d
64 ,j d,u,d,u,d
65 d,,j
66 d,,,d,d
67 #>
68 ,u d,d,d,d,d
69 j,d,j ,,u,,d
70 ,u ,j,d,j
71 d,,u
72 d,,d,d,d

@ -2,17 +2,27 @@
tests recursive meta composition, z-level manipulation, transformations, and
repeat up/down
#dig label(center_tile) start(2 2) hidden()
#dig label(border) start(3 3) hidden()
d(2x1),,,,d(1x3)
,d,
#dig label(even_up) start(2 2) hidden()
u,,u
#dig label(even_down) start(2 2) hidden()
,j
,j
d(1x-4),,,,d(-2x1)
#dig label(center_tile) start(3 3) hidden()
,,d
#dig label(even_up) start(3 3) hidden()
,u,,u
#dig label(even_down) start(3 3) hidden()
,,j
,,j
#meta label(even) hidden()
/border
/even_up
/even_down
#meta label(odd) hidden()

1 #ignore
2 tests recursive meta composition, z-level manipulation, transformations, and
3 repeat up/down
4 #dig label(center_tile) start(2 2) hidden() #dig label(border) start(3 3) hidden()
5 ,d, d(2x1),,,,d(1x3)
6 d(1x-4),,,,d(-2x1)
7 #dig label(even_up) start(2 2) hidden() #dig label(center_tile) start(3 3) hidden()
u,,u
#dig label(even_down) start(2 2) hidden()
8 ,j ,,d
,j
#meta label(even) hidden()
/even_up
9 /even_down #dig label(even_up) start(3 3) hidden()
10 #meta label(odd) hidden() ,u,,u
11 #dig label(even_down) start(3 3) hidden()
12 ,,j
13 ,,j
14 #meta label(even) hidden()
15 /border
16 /even_up
17 /even_down
18 #meta label(odd) hidden()
19 /even transform(rotcw)
20 #meta label(twoz) hidden()
21 /even
22 #>
23 /odd
24 /even transform(rotcw) #meta label(fourz) hidden()
25 /twoz
26 #meta label(twoz) hidden() #>2
27 /even /twoz
28 #>

@ -1,6 +1,6 @@
#notes
description=meta coverage test
width=3
height=3
width=5
height=5
depth=12
"start=2,2"
"start=3,3"

1 #notes
2 description=meta coverage test
3 width=3 width=5
4 height=3 height=5
5 depth=12
6 start=2,2 start=3,3

@ -1,6 +1,6 @@
#dig label(dig)
d,d,d,d,d
d,h,d,h,d
d,h,,h,d
#>
,r,d,r

1 #dig label(dig)
2 d,d,d,d,d
3 d,h,d,h,d d,h,,h,d
4 #>
5 ,r,d,r
6

@ -1,6 +1,6 @@
#dig label(track)
T(5x2),,,,T(1x2)
trackNE,,,,trackNW
T(5x2)
,,,,T(-5x-2)
#>
T(5x1)

1 #dig label(track)
2 T(5x2),,,,T(1x2) T(5x2)
3 trackNE,,,,trackNW ,,,,T(-5x-2)
4 #>
5 T(5x1)
6

@ -1 +1 @@
Subproject commit 5472fff868219e504d047d2401db34def3d241cf
Subproject commit 08e871dd39e08c846f95989293bf15f9158c8395