#9 Using the return value of CU_ASSERT.

open
nobody
None
5
2012-10-25
2008-02-20
Anonymous
No

Hi all.
Thanks for CUnit.

I want to use the follow code, but I can't.
[code]
CU_BOOL ret;
ret = CU_ASSERT( value == reference);
if( ret != CU_TRUE) {
printf("Error!. value is %d. reference is %d\n", value, reference);
}
[/code]

I attached the patch file for this.

Thanks for CUnit.

Related

Code: code

Discussion


Anonymous


Cancel   Add attachments