/** @file UEFI OS based application for unit testing the SafeIntLib. Copyright (c) Microsoft Corporation.
Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef _TEST_BASE_SAFE_INT_LIB_H_ #define _TEST_BASE_SAFE_INT_LIB_H_ #include #include #include #include #include #include #include UNIT_TEST_STATUS EFIAPI TestSafeInt32ToUintn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUint32ToIntn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeIntnToInt32 ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeIntnToUint32 ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUintnToUint32 ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUintnToIntn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUintnToInt64 ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeInt64ToIntn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeInt64ToUintn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUint64ToIntn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUint64ToUintn ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUintnAdd ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeIntnAdd ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUintnSub ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeIntnSub ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeUintnMult ( IN UNIT_TEST_CONTEXT Context ); UNIT_TEST_STATUS EFIAPI TestSafeIntnMult ( IN UNIT_TEST_CONTEXT Context ); #endif