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