I used to be a waitress so I can appreciate this dialogue.
Person A: Did you like the food?
Person B: It wasn't bad. It was all right.
Person A: You ate as if you liked it. (Your original sentence isn't bad. A person might eat everything if they truly are hungry and not enjoy the food.)