![]() |
![]() ![]() ![]() ![]() |
![]() |
BOOST_ERRORBoost , Boost.Test , Reference API for writing tests
|
||||||||||
|
Код |
|---|
<#defineBOOST_TEST_MODULEexample #include<boost/test/included/unit_test.hpp> BOOST_AUTO_TEST_CASE(test) { BOOST_ERROR("Nothing to test"); }> |
|
выход |
|---|
<>example Running1testcase... test.cpp(8):errorin"test":Nothingtotest ***1failuresisdetectedintestsuite"example"> |
Смотрите также:
Статья BOOST_ERROR раздела Boost.Test Reference API for writing tests может быть полезна для разработчиков на c++ и boost.
:: Главная :: Reference API for writing tests ::
реклама |