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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -