test_params.c 901 Bytes
#include <parameters/param.h>
// WARNING:
//  do not changes these unless
//  you want to recompute the
//  answers for all of the unit tests


/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_MIN, -1.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_MAX, 1.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_TRIM, 0.5f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_HP, 10.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_LP, 10.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_P, 0.2f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_I, 0.1f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_I_MAX, 1.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_D, 0.01f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_D_LP, 10.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_MEAN, 1.0f);

/**
 * @group Testing
 */
PARAM_DEFINE_FLOAT(TEST_DEV, 2.0f);