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

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -