// Copyright 2021-2026 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#ifndef AEC_UNIT_TESTS_
#define AEC_UNIT_TESTS_

#include "unity.h"

#include <string.h>
#include <math.h>

#include "pseudo_rand.h"
#include "testing.h"
#include "aec.h"
#include "aec_priv.h" // for unit testing 'private' functions

// Set F to a power of 2 greater than 1 to speedup testing by a Fx
#undef F
#if SPEEDUP_FACTOR
    #define F (SPEEDUP_FACTOR)
#else
    #define F 1
#endif

#endif /* AEC_UNIT_TESTS_ */
