STY Use 2 assert_equals instead of ternary comparator