respira/src/utils
Jan-Henrik Bruhn 6699fcf8e7 feature: Add detailed sequence verification tests for PEN encoding
Enhanced penEncoder test suite with byte-level sequence verification:
- Added helper functions to decode PEN bytes for detailed assertions
- Replaced length-only tests with precise operation order verification
- Added tests for color change sequences (same position and with jump)
- Added test for color change followed by explicit JUMP command
- Added test for long jump sequences with lock stitches
- Verified exact placement of lock stitches, cuts, jumps, and color markers

All 27 tests passing with comprehensive coverage of PEN format encoding.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-14 11:59:46 +01:00
..
embroideryConstants.ts Fix build and lint errors, refactor embroidery constants 2025-12-06 23:55:10 +01:00
errorCodeHelpers.ts Add comprehensive error descriptions and solutions for all machine error codes 2025-12-06 20:38:02 +01:00
konvaRenderers.ts fix: Resolve pattern rendering and coordinate handling bugs 2025-12-13 18:37:30 +01:00
machineStateHelpers.ts Fix PEN encoding and improve UI layout 2025-12-06 12:56:27 +01:00
patternConverterClient.ts fix: Resolve TypeScript build errors in PatternCanvas and imports 2025-12-13 23:38:13 +01:00
penEncoder.test.ts feature: Add detailed sequence verification tests for PEN encoding 2025-12-14 11:59:46 +01:00
penEncoder.ts feature: Add comprehensive tests for PEN encoding logic 2025-12-14 11:44:48 +01:00
penParser.ts fix: Resolve linter issues in pattern converter and hooks 2025-12-13 23:30:56 +01:00
pyodideLoader.ts initial 2025-11-30 22:18:14 +01:00
pystitchConverter.ts feature: Implement Web Worker-based pattern conversion with progress tracking 2025-12-13 13:34:13 +01:00