For example, it is required in California to signal lane changes/turns for at least 100 feet before the maneuver. (Other states may have different requirements, so better hope your GPS is functioning.) If little Sally runs out into the road and can only be avoided by swerving, heck, even crossing double yellow lines, the letter of the law would be to strike Sally without swerving since the swerve maneuver can't be legally executed. Is that what is being programmed [Y/N]?
Indeed, they are not being programmed to obey the letter of the law:
https://venturebeat.com/2014/08/19/google-cars-are-designed-...