The context of the following conversation is Tracy studied for the their test because this test determined whether or not she would graduate.:
Tracy says I stayed up all night studying for this test..
The friend responds You should have slept. Why did you study for so long?.
Tracy responds If I don't pass this test, I won't graduate..
The friend responds You should have been studying for the past couple of weeks..
Tracy responds I know. I was stupid and waited too long to study..
The friend responds Well, that's a lesson learned..