![]() |
![]() ![]() ![]() ![]() |
![]() |
BOOST_<level>_GTBoost , Boost.Test , Reference API for writing tests
|
||||||||||
|
Код |
|---|
<#defineBOOST_TEST_MODULEexample #include<boost/test/included/unit_test.hpp> BOOST_AUTO_TEST_CASE(test) { inti=2; intj=14; BOOST_CHECK_GT(i,j); }> |
|
выход |
|---|
<>example Running1testcase... test.cpp(10):errorin"test":checki>jfailed[2<14] ***1failuresisdetectedintestsuite"example"> |
Смотрите также:
Статья BOOST_<level>_GT раздела Boost.Test Reference API for writing tests может быть полезна для разработчиков на c++ и boost.
:: Главная :: Reference API for writing tests ::
реклама |