Changeset 1556 for trunk/test_more


Ignore:
Timestamp:
Oct 21, 2009 10:41:47 AM (11 years ago)
Author:
bradbell
Message:

trunk: Extend CheckSimpleVector? can use in more cases.

makefile.am: add check_simple_vector.cpp to source code list.
makefile.in: changes automatically generated by change in makefile.am.
test_more.cpp: add check_simple_vector to test list.
whats_new_09.omh: user's view of the changes.
for_sparse_jac.hpp: check simple vector with std::set<size_t> components.
rev_sparse_jac.hpp: check simple vector with std::set<size_t> components.
rev_sparse_hes.hpp: check simple vector with std::set<size_t> components.
sparse_hessian.hpp: check simple vector with std::set<size_t> components.
check_simple_vector.hpp: extend check to case were need arguments.
check_simple_vector.cpp: test of extension.

Location:
trunk/test_more
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/makefile.am

    r1551 r1556  
    7676        atan.cpp \
    7777        atan_2.cpp \
     78        check_simple_vector.cpp \
    7879        compare.cpp \
    7980        compare_change.cpp \
  • trunk/test_more/makefile.in

    r1552 r1556  
    4949        ../ipopt_cppad/ipopt_cppad_nlp.cpp ipopt_cppad.cpp \
    5050        test_more.cpp abs.cpp acos.cpp asin.cpp add.cpp add_eq.cpp \
    51         add_zero.cpp atan.cpp atan_2.cpp compare.cpp \
    52         compare_change.cpp cond_exp.cpp cond_exp_ad.cpp copy.cpp \
    53         cos.cpp cosh.cpp dbl_epsilon.cpp div.cpp div_eq.cpp \
     51        add_zero.cpp atan.cpp atan_2.cpp check_simple_vector.cpp \
     52        compare.cpp compare_change.cpp cond_exp.cpp cond_exp_ad.cpp \
     53        copy.cpp cos.cpp cosh.cpp dbl_epsilon.cpp div.cpp div_eq.cpp \
    5454        div_zero_one.cpp erf.cpp exp.cpp for_hess.cpp \
    5555        for_sparse_jac.cpp forward.cpp from_base.cpp fun_check.cpp \
     
    7070        asin.$(OBJEXT) add.$(OBJEXT) add_eq.$(OBJEXT) \
    7171        add_zero.$(OBJEXT) atan.$(OBJEXT) atan_2.$(OBJEXT) \
    72         compare.$(OBJEXT) compare_change.$(OBJEXT) cond_exp.$(OBJEXT) \
     72        check_simple_vector.$(OBJEXT) compare.$(OBJEXT) \
     73        compare_change.$(OBJEXT) cond_exp.$(OBJEXT) \
    7374        cond_exp_ad.$(OBJEXT) copy.$(OBJEXT) cos.$(OBJEXT) \
    7475        cosh.$(OBJEXT) dbl_epsilon.$(OBJEXT) div.$(OBJEXT) \
     
    280281        atan.cpp \
    281282        atan_2.cpp \
     283        check_simple_vector.cpp \
    282284        compare.cpp \
    283285        compare_change.cpp \
     
    393395@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atan_2.Po@am__quote@
    394396@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_adolc.Po@am__quote@
     397@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_simple_vector.Po@am__quote@
    395398@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compare.Po@am__quote@
    396399@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compare_change.Po@am__quote@
  • trunk/test_more/test_more.cpp

    r1553 r1556  
    2828extern bool Atan2(void);
    2929extern bool base_adolc(void);
     30extern bool check_simple_vector(void);
    3031extern bool Compare(void);
    3132extern bool CompareChange(void);
     
    123124        ok &= Run( Atan,            "Atan"           );
    124125        ok &= Run( Atan2,           "Atan2"          );
     126        ok &= Run( check_simple_vector, "check_simple_vector" );
    125127        ok &= Run( Compare,         "Compare"        );
    126128        ok &= Run( CompareChange,   "CompareChange"  );
Note: See TracChangeset for help on using the changeset viewer.