forked from boostorg/core
Add BOOST_TEST_LT, BOOST_TEST_LE
This commit is contained in:
20
test/lightweight_test_lt_fail.cpp
Normal file
20
test/lightweight_test_lt_fail.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Negative test for BOOST_TEST_LT
|
||||
//
|
||||
// Copyright 2014, 2017 Peter Dimov
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
//
|
||||
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
int x = 0;
|
||||
|
||||
BOOST_TEST_LT( x, 0 );
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
Reference in New Issue
Block a user