⚠ ネタバレ注意: 本サイトはSFアニメ「SOLAR LINE」の内容を詳細に分析しています。未視聴の方はご注意ください。
📝 AI生成コンテンツ: 本考証の大部分は AI(Claude Code 等)によって生成されています。内容の正確性については原作および引用元をご確認ください。

Task 623: Calculator Numeric Verification E2E Tests

完了 ← タスク一覧

Task 623: Calculator Numeric Verification E2E Tests

Status: DONE

Problem

The calculator E2E tests only verify that results are "not empty" (not "—"). No test checks that the actual numeric values are correct. A bug in the calculation logic (e.g., wrong formula, unit conversion error) would go undetected.

Solution

Add E2E tests that:

  1. Load the calculator with known EP01 default values (3.68 AU, 48000 t, 72 h, 9.8 MN)
  2. Verify the required acceleration, ΔV, and verdict match expected values
  3. Change inputs to a custom value and verify recalculation
  4. Test preset button functionality produces expected numeric results

Files to Modify