1 /* 2 * SPDX-FileCopyrightText: Copyright 2010-2021, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Licensed under the Apache License, Version 2.0 (the License); you may 7 * not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an AS IS BASIS, WITHOUT 14 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 19 #include <stdbool.h> 20 #include <stdint.h> 21 #include <stdio.h> 22 #include <stdlib.h> 23 #include <string.h> 24 25 #include "../test_arm_avgpool_s8.c" 26 #include "unity.h" 27 28 #ifdef USING_FVP_CORSTONE_300 29 extern void uart_init(void); 30 #endif 31 32 /* This function is called from the autogenerated file. 33 * The name must be exactly like this 34 */ setUp(void)35void setUp(void) 36 { /* This is run before EACH TEST */ 37 #ifdef USING_FVP_CORSTONE_300 38 uart_init(); 39 #endif 40 } 41 42 /* This function is called from the autogenerated file. 43 * The name must be exactly like this 44 */ tearDown(void)45void tearDown(void) {} 46 test_avgpooling_arm_avgpool_s8(void)47void test_avgpooling_arm_avgpool_s8(void) { avgpooling_arm_avgpool_s8(); } 48 test_avgpooling_1_arm_avgpool_s8(void)49void test_avgpooling_1_arm_avgpool_s8(void) { avgpooling_1_arm_avgpool_s8(); } 50 test_avgpooling_2_arm_avgpool_s8(void)51void test_avgpooling_2_arm_avgpool_s8(void) { avgpooling_2_arm_avgpool_s8(); } 52 test_avgpooling_3_arm_avgpool_s8(void)53void test_avgpooling_3_arm_avgpool_s8(void) { avgpooling_3_arm_avgpool_s8(); } 54 test_avgpooling_4_arm_avgpool_s8(void)55void test_avgpooling_4_arm_avgpool_s8(void) { avgpooling_4_arm_avgpool_s8(); } 56 test_avgpooling_5_arm_avgpool_s8(void)57void test_avgpooling_5_arm_avgpool_s8(void) { avgpooling_5_arm_avgpool_s8(); } 58 test_buffer_size_mve_arm_avgpool_s8(void)59void test_buffer_size_mve_arm_avgpool_s8(void) { buffer_size_mve_arm_avgpool_s8(); } 60 test_buffer_size_dsp_arm_avgpool_s8(void)61void test_buffer_size_dsp_arm_avgpool_s8(void) { buffer_size_dsp_arm_avgpool_s8(); } 62 test_avgpooling_param_fail_arm_avgpool_s8(void)63void test_avgpooling_param_fail_arm_avgpool_s8(void) { avgpooling_param_fail_arm_avgpool_s8(); } 64