One assert per expectation makes better error messages.

This commit is contained in:
Murilo Pereira 2011-02-12 16:00:23 -02:00
parent cdbb86e331
commit e2f50b183a

View File

@ -7,9 +7,10 @@ void test_initialize_frame() {
allocate_frame(&frame);
initialize_frame(frame);
assert(frame->shape == NULL &&
frame->start_y == 0 &&
frame->start_x == 0);
assert(frame->shape == NULL);
assert(frame->start_y == 0);
assert(frame->start_x == 0);
return;
}