logigate/tests
Fabian @ Blax Software 183edc784f BF tidy wiring laid a wire along another signal's row
When a target sat level with another wire's source (Y3 next to S2), the
column order counted that as free, and ties went to the leftmost column:
S3 stepped left of S2, its last run shared S2's row, and the overlap pass
pushed it onto a side lane with a jog before the pin. Now a shared row
costs more than a crossing, ties keep top-to-bottom order, and a tidy
route that would still run along another signal goes to the usual router.
Tests: the reported layout, and no shared lines in tidy mode for every
example circuit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:31:13 +02:00
..
fixtures A settings for every part, overlap-free wiring with crossing styles, accounts with sync 2026-10-20 13:09:37 +02:00
bulk.test.ts BF pin names editable again, A dense Pins list with toggles and panel groups, wire many at once, folding side panels, full zoom-out 2026-10-21 10:09:43 +02:00
cables.test.ts A transistor counts and records, cables, pixels and screens 2026-10-20 19:29:16 +02:00
compat.test.ts A settings for every part, overlap-free wiring with crossing styles, accounts with sync 2026-10-20 13:09:37 +02:00
durability.test.ts A crash-safe storage, savegames and daily backups 2026-10-20 13:20:55 +02:00
features.test.ts A component faces, project library with share links, fine-grained wire editing 2026-10-17 13:21:49 +02:00
game.test.ts A campaign with unlocks, synthesised sound, puzzles and the puzzle of the week 2026-10-20 19:54:57 +02:00
logic.test.ts A logigate: NAND-only logic editor and simulator with components, challenges and examples 2026-10-17 12:49:38 +02:00
parts.test.ts A settings for every part, overlap-free wiring with crossing styles, accounts with sync 2026-10-20 13:09:37 +02:00
perf.test.ts A settings for every part, overlap-free wiring with crossing styles, accounts with sync 2026-10-20 13:09:37 +02:00
routing.test.ts BF tidy wiring laid a wire along another signal's row 2026-10-21 10:31:13 +02:00
wide.test.ts A compact tidy wiring, pass-through lamps and outputs, gates with up to 16 inputs 2026-10-20 20:09:23 +02:00
workflow.test.ts A input panels, automatic names, one-by-one wiring, tidy routing, truth table export 2026-10-20 19:17:25 +02:00