-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
Description
There are some cleanup things that should to be done in the test/ folder:
-
EXPECT_MATRIX_NEARmacro is used a lot but defined in every file separately. Example: Let value_of and value_of_rec return expressions #1872 (comment) - gp_*_test.cpp files could replace the use of
pull_msgwithEXPECT_THROW_MSG - util.hpp are scattered all over the subfolders, reorganize them in /prim, /rev ,...
- utils should be in stan::math::test or stan::test
- functions/functors/... that are defined in the global space should be put in a file specific namespace Example: https://github.com/stan-dev/math/blob/develop/test/unit/math/mix/fun/col_test.cpp
f() there should be in the col_test namespace. - expect_matrix_eq should be replaced by
EXPECT_MATRIX_NEAR - expect_std_vector_eq should be replaced by a macro
- clean up _works_with_other_functions tests that are redundant after we introduced the expression testing framework
- clean up the typedefs (AVEC, AVAR types, etc)
Current Version:
v3.2.0
Metadata
Metadata
Assignees
Labels
No labels