Just skip these intermediate test variables and directly use the output in the if-statement below for better readability and performance.