#include <addm/cpp_toolbox.h>
#include <catch2/catch.hpp>
|
| bool | within_abs (float f1, float f2, float error) |
| |
| | TEST_CASE ("aDDM::simulateTrial gives expected Results") |
| | Check that input seeds yield consistent results for aDDM::simulateTrial and the function runs without error.
|
| |
| | TEST_CASE ("aDDM::getTrialLikelihood gives expected results") |
| | Check that aDDM::getTrialLikelihood yields consistent results across runs.
|
| |
| | TEST_CASE ("aDDM::fitModelMLE gives expected results") |
| | Confirm that aDDM::fitModelMLE predicts exact parameters for small grid sizes.
|
| |
◆ CATCH_CONFIG_MAIN
| #define CATCH_CONFIG_MAIN |
◆ CHECK_MESSAGE
| #define CHECK_MESSAGE |
( |
| cond, |
|
|
| msg ) do { INFO(msg); CHECK(cond); } while((void)0, 0) |
◆ TEST_CASE() [1/3]
| TEST_CASE |
( |
"aDDM::fitModelMLE gives expected results" | | ) |
|
◆ TEST_CASE() [2/3]
| TEST_CASE |
( |
"aDDM::getTrialLikelihood gives expected results" | | ) |
|
◆ TEST_CASE() [3/3]
| TEST_CASE |
( |
"aDDM::simulateTrial gives expected Results" | | ) |
|
Check that input seeds yield consistent results for aDDM::simulateTrial and the function runs without error.
◆ within_abs()
| bool within_abs |
( |
float | f1, |
|
|
float | f2, |
|
|
float | error ) |
|
inline |
◆ ERROR_BOUND
| const float ERROR_BOUND = 1.0E-6 |
◆ EXP_DATA
| const std::string EXP_DATA = "data/expdata.csv" |
◆ FIX_DATA
| const std::string FIX_DATA = "data/fixations.csv" |