The way these are structured the answer for a given test case ends up being 16 lines away from the test case itself, making it harder to read than it needs to be.  I think sequences of tuples makes sense for something like a truth table, but in this case I think something much simpler would be much easier for people to understand.