Skip to content

046 — should create project and test pentagon area measurement

Description

Regular pentagon inscribed in 0,5 m radius circle: all 5 sides ≈ 588 mm (±5 mm tolerance for sub-pixel rounding), area 0,59 m², perimeter 2,94 m, volume 593,68.

Preconditions

  • Clean database and S3
  • User logged in with ADMIN and ACCOUNTING roles
  • Test PDF drawing file available

Steps

  1. Calibrate 1000 mm, draw regular pentagon — Expected: Shape on canvas
  2. Assert all 5 sides ≈ 588 mm with ±5 mm tolerance; area 0,59 m² — Expected: Correct
  3. Grid row: perimeter=2,94m, volume=593,68 — Expected: Correct
  • Spec: tests/e2e/tests/drawings.spec.ts