Create a test generator that creates a known number of random inputs and caches them, such that the same inputs are used for all functions.