ternaryOperatorTest