The `test_irq()` function does not discriminate between rising and falling pins, so there is no need to handle them separately.
The `test_irq()` function does not discriminate between rising and falling pins, so there is no need to handle them separately.