Changeset 3082 for trunk/test/utility.cc


Ignore:
Timestamp:
Sep 19, 2013, 1:54:15 AM (8 years ago)
Author:
Peter
Message:

new compose functor: compose_f_gx_hx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/utility.cc

    r2963 r3082  
    262262  utility::compose_f_gx<U1, U2> unary;
    263263  unary = utility::make_compose_f_gx(u1, u2);
     264
     265  utility::compose_f_gx_hx<B, U1, U2> unary2;
     266  unary2 = utility::make_compose_f_gx_hx(b, u1, u2);
     267  if (!suite.add(suite.equal_fix(unary2(-2.0), 2.0 + std::exp(-2.0),1e-8)))
     268    suite.err() << "compose_f_gx_hx failed\n";
    264269}
    265270
Note: See TracChangeset for help on using the changeset viewer.