Term or phrase like "pangram" for more general cases
I am looking for a word or phrase like "pangram" that signifies an example of something that contains all the allowable contents of that class of object:
- "1,234.567809" contains all the generally-allowed symbols for a (US) number
- "1 + 2 × (3 / 4)" contains all the basic arithmetic operations
- Or an example sentence without the concrete example: "this program is a Python 'pangram': it contains usages of every allowable syntax of the language."
It seems to me that "pangram" itself might fit the bill, but this usage would stretch the definitions a bit:
pangram, n. (OED)
A sentence containing every letter of the alphabet.
pangram, n. (M-W)
a short sentence containing all 26 letters of the English alphabet
EDIT: although I was hoping there was a more general form of "pangram" for any case that is a "complete example" or something similar, the original impetus for this request was to describe a Markdown document that contained all examples of Markdown syntax to use as a complete test case for a set of CSS styles. Perhaps there is a name for this in the particular domain of programming/markup languages?
Catch-all examples, or all-inclusive examples:
One could use terms, a catch all example, or an all-inclusive example to describe such an example. Pangram sounds a little too heavy term needing an explanation for itself, when the intention is clearly to illustrate an example that is peculiar about full coverage of concepts to be illustrated. An adjective to word "example" would make it clear that it's something about the nature of the example, and that something is readily highlighted by the meaning of the adjective.
Exhaustive
You might consider using exhaustive.
Merriam-Webster:
Including all possibilities; thorough.
'conducted an exhaustive search'
Oxford Living:
Including or considering all elements or aspects; fully comprehensive.
‘The guide outlines every bus route in exhaustive detail.’
‘The list is by no means exhaustive but it does capture some of the main elements.’
‘After exhaustive testing they found that a long track in the circuit board had functioned as the antenna.’
Although this is probably not what is meant in the last example above (where I would take exhaustive to simply mean 'thorough'), exhaustive testing is in use as a technical term, and it is one where the meaning should be apparent even to a reader encountering the term for the first time without any explanation:
Technopedia:
Exhaustive testing is a testing or quality assurance approach in which all possible combinations of scenarios and use/test cases are used for testing.
In testing software, it is all the possible combinations of every type of input as well as every permutation and variation of how the input is carried out to ensure that everything works as expected. This goes the same for hardware testing—pressing any and all combinations of buttons and switches to determine which ones expose a bug so that it can be fixed.
Exhaustive testing refers to a process or procedure, of course, but you are asking for a class exemplar (a person or thing serving as a typical example or appropriate model: another word you might consider!)
Something like an exhaustive test case or an exhaustive use case should do the job, depending on your exact circumstances.