# include <cstdio>
# include <string>
# include <cppad/swig/cppad_swig.hpp>
bool a_double_property_xam(void) {
using cppad_swig::a_double;
using cppad_swig::vec_bool;
using cppad_swig::vec_int;
using cppad_swig::vec_double;
using cppad_swig::vec_a_double;
using cppad_swig::a_fun;
using cppad_swig::sparse_rc;
using cppad_swig::sparse_rcv;
using cppad_swig::sparse_jac_work;
using cppad_swig::sparse_hes_work;
using std::string;
//// initialize return variable
bool ok = true;
//------------------------------------------------------------------------
a_double three = cppad_swig::a_double(3.0);
//
ok = ok && three.value() == 3.0;
ok = ok && three.parameter();
ok = ok && ! three.variable();
//// near_equal
a_double r3 = three.sqrt() ;
ok = ok && three.near_equal( r3 * r3) ;;
//return( ok );
}