make_pattern_tests: Make pattern tests for all patterns.
Description
This function calls make_pattern_match() for each pattern in patterns
and return a list of all the pattern test expressions.
Usage
make_pattern_tests(patterns, range_vars)
Arguments
patterns
A list of the patterns used in a recursion.
range_vars
The variables used in the ranges.
Value
A list of pattern check expressions.