Question
What is the main difference berween ASSERT() and ASSERT_FAIL() #macros
What is the main difference berween ASSERT() and ASSERT_FAIL() #macros
I suppose that in ASSERT we can't pass any message but in ASSERT_FAIL we can pass our own custom message along with the ASSERT Dialog.
Also there is no condition check in case of ASSERT_FAIL but in case of ASSERT we can check some condition.
Thanks,
Rizwan
I suppose that in ASSERT we can't pass any message but in ASSERT_FAIL we can pass our own custom message along with the ASSERT Dialog.
Also there is no condition check in case of ASSERT_FAIL but in case of ASSERT we can check some condition.
Thanks,
Rizwan