mirror of
https://github.com/boostorg/contract.git
synced 2026-02-26 16:42:19 +00:00
completed first revised draft of docs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
//[n1962_sqrt
|
||||
#include <boost/contract.hpp>
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <cmath>
|
||||
@@ -22,4 +23,5 @@ int main() {
|
||||
BOOST_TEST(fabs(mysqrt(4.0, precision) - 2.0) <= precision);
|
||||
return boost::report_errors();
|
||||
}
|
||||
//]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user