Physics Smoke Tests

A small self-check for the simulator’s core math (runs in your browser, no measurements required).

Why this page exists

As we expand the simulator (new modes, new plots, new circuit variants), it’s easy to accidentally break a basic formula or sign convention without noticing.

This page runs a few quick “sanity tests” on the physics engine to catch mistakes early. It does not prove the simulator is perfect — it only checks that the most important fundamentals still behave as expected after changes.

What happens when you click “Run tests”

Result meaning: PASS = all checks succeeded, FAIL = at least one check needs attention.

What these tests cover (today)

We will add more checks over time (power triangle, energy balance, RLC resonance cases, etc.).
Idle.


  
Tip: If you see a failure after you edited code, don’t panic — it usually means a small assumption changed. Open DevTools → Console to see the full error details.