A black dog walked down a black road in a town painted black with streetlights that were broken because of a recent power outage. A car came by driving 45 miles an hour whose headlights were both broken; it swerved and narrowly missed the dog. How did the car avoid hitting the dog under such conditions?