Refactored code
Example 3: Multiple assertions with `where` using table and left shift operator