In metamorphic testing, you define a metamorphic relation linking a change in an input to an expected change in the output, then vary that input across multiple test executions to verify the relation holds. Since the stated relation ties vacation time accrued (output) directly to days worked (input) at a fixed rate of 0.05 days per day worked, the number of days worked is the independent variable that must be varied to observe whether the resulting vacation time changes proportionally as expected. The accrual ratio (0.05) is a constant defining the relation itself, not a variable input; the number of employees is unrelated to this specific relation; and total vacation time accrued is the output being validated, not the input being manipulated.
Community Discussion