The arena sells wheelchair spaces in every zone. The seat map must draw them with the access mark, so customers and staff can find them, and in production an accessible space has its own outline. The seat specs already carry an accessible flag; the map ignores it.
Accessible spaces are invisible on the map, so staff sell them as ordinary seats and customers who need them cannot find them.
Reproduce
Build a map of A1 on the floor, A2 an accessible floor space, and B1 in lower. A2 should draw as “A2 floor $120 red access” and the map should hold 3 styles; today A2 draws like A1.
Acceptance criteria
- An accessible space draws with the access mark after its colour, at its zone’s price and colour.
- The access mark is part of the shared style: one style per zone and access in a map, so an accessible floor space and a floor seat refer to different styles, and two accessible floor spaces to one.
- What a seat draws does not depend on which seat of its zone the map asked for first.
- Holds stay on the seat, and an unknown zone is still rejected.
Notes
- Cases print the holds, the number of distinct style objects, and each seat, with “access” before “held” when both apply.
- Keep the names and signatures of buildSeatMap, holdSeat and drawSeat, and the Seat’s style field.