Changeset 2456


Ignore:
Timestamp:
Jul 6, 2012 8:04:23 AM (8 years ago)
Author:
bradbell
Message:

Add a test of the deprecated CPPAD_TEST_VECTOR macro.

Location:
trunk/test_more
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/makefile.am

    r2453 r2456  
    140140        sub_zero.cpp \
    141141        tan.cpp \
     142        test_vector.cpp \
    142143        track_new_del.cpp \
    143144        value.cpp \
  • trunk/test_more/makefile.in

    r2453 r2456  
    6969        sparse_hessian.cpp sparse_jacobian.cpp sparse_vec_ad.cpp \
    7070        sqrt.cpp std_math.cpp sub.cpp sub_eq.cpp sub_zero.cpp tan.cpp \
    71         track_new_del.cpp value.cpp vec_ad.cpp vec_ad_par.cpp \
    72         vec_unary.cpp
     71        test_vector.cpp track_new_del.cpp value.cpp vec_ad.cpp \
     72        vec_ad_par.cpp vec_unary.cpp
    7373@CppAD_ADOLC_TRUE@am__objects_1 = base_adolc.$(OBJEXT)
    7474@CppAD_OPENMP_TRUE@am__objects_2 = alloc_openmp.$(OBJEXT)
     
    9898        sqrt.$(OBJEXT) std_math.$(OBJEXT) sub.$(OBJEXT) \
    9999        sub_eq.$(OBJEXT) sub_zero.$(OBJEXT) tan.$(OBJEXT) \
    100         track_new_del.$(OBJEXT) value.$(OBJEXT) vec_ad.$(OBJEXT) \
    101         vec_ad_par.$(OBJEXT) vec_unary.$(OBJEXT)
     100        test_vector.$(OBJEXT) track_new_del.$(OBJEXT) value.$(OBJEXT) \
     101        vec_ad.$(OBJEXT) vec_ad_par.$(OBJEXT) vec_unary.$(OBJEXT)
    102102test_more_OBJECTS = $(am_test_more_OBJECTS)
    103103test_more_LDADD = $(LDADD)
     
    379379        sub_zero.cpp \
    380380        tan.cpp \
     381        test_vector.cpp \
    381382        track_new_del.cpp \
    382383        value.cpp \
     
    512513@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tan.Po@am__quote@
    513514@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_more.Po@am__quote@
     515@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_vector.Po@am__quote@
    514516@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/track_new_del.Po@am__quote@
    515517@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Po@am__quote@
  • trunk/test_more/test_more.cpp

    r2443 r2456  
    8888extern bool SubZero(void);
    8989extern bool tan(void);
     90extern bool test_vector(void);
    9091extern bool track_new_del(void);
    9192extern bool Value(void);
     
    208209        ok &= Run( cppad_eigen, "cppad_eigen" );
    209210# endif
     211# if ! CPPAD_EIGENVECTOR
     212        ok &= Run( test_vector, "test_vector" );
     213# endif
    210214
    211215        // check for errors
  • trunk/test_more/test_more.vcproj

    r2436 r2456  
    456456                        </File>
    457457                        <File
     458                                RelativePath=".\test_vector.cpp"
     459                                >
     460                        </File>
     461                        <File
    458462                                RelativePath=".\value.cpp"
    459463                                >
Note: See TracChangeset for help on using the changeset viewer.