{ "function": "opposite", "cases": [ { "name": "up", "args": [ "Up" ], "expected": "Down" }, { "name": "down", "args": [ "Down" ], "expected": "Up" }, { "name": "left", "args": [ "Left" ], "expected": "Right" }, { "name": "right", "args": [ "Right" ], "expected": "Left" } ] }