add slow_grid, grid_oom tests

This commit is contained in:
Gavin Nishizawa 2023-04-25 14:28:16 -07:00
parent 2896862a42
commit 9957574cc6
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD
7 changed files with 4314 additions and 0 deletions

View file

@ -932,6 +932,8 @@ d
a -> b -> c a -> b -> c
`, `,
}, },
loadFromFile(t, "slow_grid"),
loadFromFile(t, "grid_oom"),
} }
runa(t, tcs) runa(t, tcs)

1049
e2etests/testdata/files/grid_oom.d2 vendored Normal file

File diff suppressed because it is too large Load diff

147
e2etests/testdata/files/slow_grid.d2 vendored Normal file
View file

@ -0,0 +1,147 @@
grid-columns: 15
1: {
shape: class
1: ------------------
2: -------------------------------
3: ------------------------------
4: -------------------------
}
2: {
shape: class
1: -----------------
2: ----------------------------
}
3: {
shape: class
1: -----------------
2: ----------------------------
3: ------------------------------
4: -------------------------
}
4: {
shape: class
1: ----------------------------
}
5: {
shape: class
1: --------------------
2: ----------------------------------------------
3: ---------------------------------
}
6: {
shape: class
1: ----------------------------------------
2: ------------------------
3: ------------------------
4: --------------------------------------
}
7: {
shape: class
1: ----------------------------------------
2: ---------------------
3: ------------------------
4: --------------------------------------
}
5: {
shape: class
1: ----------------------------------------
2: ---------------------
3: ------------------------
4: --------------------------------------
}
9: {
shape: class
1: ----------------------
2: -------------------------------------------
3: -----------------------
4: --------------------------
5: -----------------------------
6: -----------------------------
7: --------------------------
}
10: {
shape: class
1: -----------------
}
11: {
shape: class
1: ----------------
2: ---------------------------
3: -----------------------------
4: ------------------------
}
12: {
shape: class
1: ----------------------
2: -----------------------
3: -------------
4: -------------
5: ------------------------
6: ------------------------------------------------
7: --------------------------
}
13: {
shape: class
1: --------------------------------
}
14: {
shape: class
1: ----------------
2: ---------------------------
3: -----------------------------
4: ------------------------
}
15: {
shape: class
1: ------------------------
2: ----------------------
}
16: {
shape: class
1: ----------------
2: ------------------------------
}
17: {
shape: class
1: -----------------
}
18: {
shape: class
1: ----------------
}
19: {
shape: class
1: -----------------
}
20: {
shape: class
1: -----------------
}
21: {
shape: class
1: ----------------
2: ---------------------------
3: -----------------------------
4: ------------------------
}
22: {
shape: class
1: ---------------------------------------------
2: --------------------
3: -----------------------
4: -------------------------------------
}
23: {
shape: class
1: ----------------
2: ------------------------------
}
24: {
shape: class
1: -----------------
}
25: {
shape: class
1: -----------------
}

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: 46 KiB

1463
e2etests/testdata/regression/slow_grid/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: 46 KiB