## Description There are some cleanup things that should to be done in the test/ folder: - [x] `EXPECT_MATRIX_NEAR` macro is used a lot but defined in every file separately. Example: https://github.com/stan-dev/math/pull/1872#discussion_r425050016 - [x] gp_*_test.cpp files could replace the use of `pull_msg` with `EXPECT_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 - [x] 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. - [x] expect_matrix_eq should be replaced by `EXPECT_MATRIX_NEAR` - [x] expect_std_vector_eq should be replaced by a macro - [x] 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
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)pull_msgwithEXPECT_THROW_MSGf() there should be in the col_test namespace.
EXPECT_MATRIX_NEARCurrent Version:
v3.2.0