Improved interface testing

This commit is contained in:
Bán Dénes 2021-07-16 20:18:09 +02:00
parent 7d841b2f5f
commit 1f3ecb5c58
10 changed files with 407 additions and 120 deletions

271
test/fixtures/atreus_kle.json vendored Normal file
View file

@ -0,0 +1,271 @@
[
[
{
"r": 10,
"rx": 1,
"y": -0.09999999999999998,
"x": 2
},
"E"
],
[
{
"y": -0.65,
"x": 1
},
"W",
{
"x": 1
},
"R"
],
[
{
"y": -0.75
},
"Q"
],
[
{
"y": -0.9,
"x": 4
},
"T"
],
[
{
"y": -0.7000000000000001,
"x": 2
},
"D"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"S",
{
"x": 1
},
"F"
],
[
{
"y": -0.75
},
"A"
],
[
{
"y": -0.8999999999999999,
"x": 4
},
"G"
],
[
{
"y": -0.7000000000000002,
"x": 2
},
"C"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"X",
{
"x": 1
},
"V"
],
[
{
"y": -0.75
},
"Z"
],
[
{
"y": -0.8999999999999999,
"x": 4
},
"B"
],
[
{
"y": -0.75,
"x": 5,
"h": 1.5
},
"Ctrl"
],
[
{
"y": -0.9500000000000002,
"x": 2
},
"super"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"Tab",
{
"x": 1
},
"Shift"
],
[
{
"y": -0.75
},
"Esc"
],
[
{
"y": -0.8999999999999999,
"x": 4
},
"Bksp"
],
[
{
"r": -10,
"rx": 7,
"ry": 0.965,
"y": -0.20000000000000018,
"x": 2
},
"I"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"U",
{
"x": 1
},
"O"
],
[
{
"y": -0.75,
"x": 4
},
"P"
],
[
{
"y": -0.8999999999999999
},
"Y"
],
[
{
"y": -0.7000000000000002,
"x": 2
},
"K"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"J",
{
"x": 1
},
"L"
],
[
{
"y": -0.75,
"x": 4
},
":\n;"
],
[
{
"y": -0.8999999999999999
},
"H"
],
[
{
"y": -0.7000000000000002,
"x": 2
},
"<\n,"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"M",
{
"x": 1
},
">\n."
],
[
{
"y": -0.7500000000000004,
"x": 4
},
"?\n/"
],
[
{
"y": -0.9000000000000004
},
"N"
],
[
{
"y": -0.7499999999999996,
"x": -1,
"h": 1.5
},
"Alt"
],
[
{
"y": -0.9499999999999997,
"x": 2
},
"_\n-"
],
[
{
"y": -0.6500000000000004,
"x": 1
},
"fn",
{
"x": 1
},
"\"\n'"
],
[
{
"y": -0.75,
"x": 4
},
"Enter"
],
[
{
"y": -0.9000000000000004
},
"Space"
]
]

24
test/fixtures/big.yaml vendored Normal file
View file

@ -0,0 +1,24 @@
units:
a: 28 + u
points.zones.matrix:
columns.col: {}
rows.row: {}
outlines.exports:
export:
- type: 'keys'
side: 'left'
size: 18
_export:
- type: 'keys'
side: 'left'
size: 18
cases:
export:
- name: 'export'
extrude: 1
_export:
- name: 'export'
extrude: 1
pcbs:
export: {}
_export: {}

3
test/fixtures/minimal.yaml vendored Normal file
View file

@ -0,0 +1,3 @@
points.zones.matrix:
columns.col: {}
rows.row: {}