From Default for Code Golf: Program, Function or Snippet?, it is clear that the default for code-golf is to allow program and function answers.
For function-only answers, it may be advantageous for answers to include a complete test program that calls the function for some examples, so that it is easy for users unfamiliar with the given language to verify the answer.
Should we require this?