velxio/frontend/src/simulation/spice
David Montero Crespo 137f9ab0a0 Add tests for serial batching and spice rectifier functionality
- Implement `serial-batching.test.ts` to verify the behavior of `createSerialBatcher`, ensuring it coalesces multiple appends into a single flush, preserves byte order, and groups by board.
- Create `spice-rectifier-integration.test.ts` to test the end-to-end functionality of the Half-Wave Rectifier example, covering the entire simulation pipeline from input building to circuit solving.
- Add `spice-rectifier-live-repro.test.ts` to reproduce a live-app failure scenario, tracing through each layer of the simulation to identify potential failure points.
- Introduce `spice-signal-generator-tran.test.ts` to validate the behavior of the signal generator and ensure correct analysis type switching based on circuit components.
- Establish `serialBatcher.ts` to implement a batching mechanism for USART output, reducing the frequency of store updates and preventing React's maximum update depth error.
2026-04-20 23:56:42 -03:00
..
CircuitScheduler.ts Add tests for serial batching and spice rectifier functionality 2026-04-20 23:56:42 -03:00
NetlistBuilder.ts feat: enhance electrical simulation and testing framework 2026-04-20 16:38:31 -03:00
SpiceEngine.lazy.ts feat: electrical simulation via ngspice-WASM (eecircuit-engine) 2026-04-15 12:11:54 +00:00
SpiceEngine.ts feat: electrical simulation via ngspice-WASM (eecircuit-engine) 2026-04-15 12:11:54 +00:00
boardPinGroups.ts feat: electrical simulation via ngspice-WASM (eecircuit-engine) 2026-04-15 12:11:54 +00:00
componentToSpice.ts feat: enhance electrical simulation and testing framework 2026-04-20 16:38:31 -03:00
probes.ts feat: electrical simulation via ngspice-WASM (eecircuit-engine) 2026-04-15 12:11:54 +00:00
storeAdapter.ts Add tests for serial batching and spice rectifier functionality 2026-04-20 23:56:42 -03:00
subscribeToStore.ts Add tests for serial batching and spice rectifier functionality 2026-04-20 23:56:42 -03:00
types.ts Add tests for serial batching and spice rectifier functionality 2026-04-20 23:56:42 -03:00
unionFind.ts feat: electrical simulation via ngspice-WASM (eecircuit-engine) 2026-04-15 12:11:54 +00:00
valueParser.ts feat: electrical simulation via ngspice-WASM (eecircuit-engine) 2026-04-15 12:11:54 +00:00