c++ - Can I use BOOST_CHECK only in unit tests? -
Or can I use it in regular code?
If the answer is "no", then is there a C ++ library which will provide me all macros like CHECK_EQUAL, CHECK_CLOSE, etc.?
This is only meaningful in unit testing because its purpose is to alert the unit test framework that a test Failed and then continues. If the unit testing framework is not working, then it will not work.
Outside the unit test, you usually want to use some tastes of loud instead.
Comments
Post a Comment