(name: string)
| 483 | const layout = buildFlowLayout([tall, alt], 'f1'); |
| 484 | const at = (name: string) => layout.cards.find((c) => c.hop.node.name === name)!; |
| 485 | const columnMiddle = (name: string) => at(name).y + at(name).height / 2; |
| 486 | // `a` is alone in its column; `b`/`c` share the next one. Their midpoints line up. |
| 487 | expect(columnMiddle('a')).toBeCloseTo((at('b').y + at('c').y + at('c').height) / 2, 5); |
| 488 | }); |
no test coverage detected