add grid_tests test

This commit is contained in:
Gavin Nishizawa 2023-04-04 18:56:40 -07:00
parent 108faceb99
commit 69ceb5be1a
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD
7 changed files with 6980 additions and 1 deletions

View file

@ -2467,6 +2467,7 @@ scenarios: {
loadFromFile(t, "arrowhead_scaling"), loadFromFile(t, "arrowhead_scaling"),
loadFromFile(t, "teleport_grid"), loadFromFile(t, "teleport_grid"),
loadFromFile(t, "dagger_grid"), loadFromFile(t, "dagger_grid"),
loadFromFile(t, "grid_tests"),
} }
runa(t, tcs) runa(t, tcs)

119
e2etests/testdata/files/grid_tests.d2 vendored Normal file
View file

@ -0,0 +1,119 @@
rows 1: {
rows: 1
a
b
c
d
e
f
g
}
columns 1: {
columns: 1
a
b
c
d
e
f
g
}
rows 2: {
rows: 2
a
b
c
d
e
f
g
}
columns 2: {
columns: 2
a
b
c
d
e
f
g
}
rows 2 columns 2: {
rows: 2
columns: 2
a
b
c
d
e
f
g
}
columns 2 rows 2: {
columns: 2
rows: 2
a
b
c
d
e
f
g
}
rows 3 columns 3: {
rows: 3
columns: 3
a
b
c
d
e
f
g
}
columns 3 rows 3: {
columns: 3
rows: 3
a
b
c
d
e
f
g
}
rows 3: {
rows: 3
a
b
c
d
e
f
g
}
columns 3: {
columns: 3
a
b
c
d
e
f
g
}

View file

@ -33,7 +33,6 @@ via: "" {
teleport: Teleport { teleport: Teleport {
rows: 2 rows: 2
columns: 2
inp: |md inp: |md
# Identity Native Proxy # Identity Native Proxy

3328
e2etests/testdata/stable/grid_tests/dagre/board.exp.json generated vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 36 KiB

3328
e2etests/testdata/stable/grid_tests/elk/board.exp.json generated vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 36 KiB