135375f98Sopenharmony_ci/* ==========================================
235375f98Sopenharmony_ci    Unity Project - A Test Framework for C
335375f98Sopenharmony_ci    Copyright (c) 2007-21 Mike Karlesky, Mark VanderVoord, Greg Williams
435375f98Sopenharmony_ci    [Released under MIT License. Please refer to license.txt for details]
535375f98Sopenharmony_ci========================================== */
635375f98Sopenharmony_ci
735375f98Sopenharmony_ci#ifndef UNITY_INTERNALS_H
835375f98Sopenharmony_ci#define UNITY_INTERNALS_H
935375f98Sopenharmony_ci
1035375f98Sopenharmony_ci#ifdef UNITY_INCLUDE_CONFIG_H
1135375f98Sopenharmony_ci#include "unity_config.h"
1235375f98Sopenharmony_ci#endif
1335375f98Sopenharmony_ci
1435375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_SETJMP_H
1535375f98Sopenharmony_ci#include <setjmp.h>
1635375f98Sopenharmony_ci#endif
1735375f98Sopenharmony_ci
1835375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_MATH_H
1935375f98Sopenharmony_ci#include <math.h>
2035375f98Sopenharmony_ci#endif
2135375f98Sopenharmony_ci
2235375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_STDDEF_H
2335375f98Sopenharmony_ci#include <stddef.h>
2435375f98Sopenharmony_ci#endif
2535375f98Sopenharmony_ci
2635375f98Sopenharmony_ci#ifdef UNITY_INCLUDE_PRINT_FORMATTED
2735375f98Sopenharmony_ci#include <stdarg.h>
2835375f98Sopenharmony_ci#endif
2935375f98Sopenharmony_ci
3035375f98Sopenharmony_ci/* Unity Attempts to Auto-Detect Integer Types
3135375f98Sopenharmony_ci * Attempt 1: UINT_MAX, ULONG_MAX in <limits.h>, or default to 32 bits
3235375f98Sopenharmony_ci * Attempt 2: UINTPTR_MAX in <stdint.h>, or default to same size as long
3335375f98Sopenharmony_ci * The user may override any of these derived constants:
3435375f98Sopenharmony_ci * UNITY_INT_WIDTH, UNITY_LONG_WIDTH, UNITY_POINTER_WIDTH */
3535375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_STDINT_H
3635375f98Sopenharmony_ci#include <stdint.h>
3735375f98Sopenharmony_ci#endif
3835375f98Sopenharmony_ci
3935375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_LIMITS_H
4035375f98Sopenharmony_ci#include <limits.h>
4135375f98Sopenharmony_ci#endif
4235375f98Sopenharmony_ci
4335375f98Sopenharmony_ci#if defined(__GNUC__) || defined(__clang__)
4435375f98Sopenharmony_ci  #define UNITY_FUNCTION_ATTR(a)    __attribute__((a))
4535375f98Sopenharmony_ci#else
4635375f98Sopenharmony_ci  #define UNITY_FUNCTION_ATTR(a)    /* ignore */
4735375f98Sopenharmony_ci#endif
4835375f98Sopenharmony_ci
4935375f98Sopenharmony_ci#ifndef UNITY_NORETURN
5035375f98Sopenharmony_ci  #if defined(__cplusplus)
5135375f98Sopenharmony_ci    #if __cplusplus >= 201103L
5235375f98Sopenharmony_ci      #define UNITY_NORETURN [[ noreturn ]]
5335375f98Sopenharmony_ci    #endif
5435375f98Sopenharmony_ci  #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
5535375f98Sopenharmony_ci    #if defined(_WIN32) && defined(_MSC_VER)
5635375f98Sopenharmony_ci      /* We are using MSVC compiler on Windows platform. */
5735375f98Sopenharmony_ci      /* Not all Windows SDKs supports <stdnoreturn.h>, but compiler can support C11: */
5835375f98Sopenharmony_ci      /* https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/ */
5935375f98Sopenharmony_ci      /* Not sure, that Mingw compilers has Windows SDK headers at all. */
6035375f98Sopenharmony_ci      #include <sdkddkver.h>
6135375f98Sopenharmony_ci    #endif
6235375f98Sopenharmony_ci
6335375f98Sopenharmony_ci    /* Using Windows SDK predefined macro for detecting supported SDK with MSVC compiler. */
6435375f98Sopenharmony_ci    /* Mingw GCC should work without that fixes. */
6535375f98Sopenharmony_ci    /* Based on: */
6635375f98Sopenharmony_ci    /* https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170 */
6735375f98Sopenharmony_ci    /* NTDDI_WIN10_FE is equal to Windows 10 SDK 2104 */
6835375f98Sopenharmony_ci    #if defined(_MSC_VER) && ((!defined(NTDDI_WIN10_FE)) || WDK_NTDDI_VERSION < NTDDI_WIN10_FE)
6935375f98Sopenharmony_ci      /* Based on tests and: */
7035375f98Sopenharmony_ci      /* https://docs.microsoft.com/en-us/cpp/c-language/noreturn?view=msvc-170 */
7135375f98Sopenharmony_ci      /* https://en.cppreference.com/w/c/language/_Noreturn */
7235375f98Sopenharmony_ci      #define UNITY_NORETURN _Noreturn
7335375f98Sopenharmony_ci    #else /* Using newer Windows SDK or not MSVC compiler */
7435375f98Sopenharmony_ci      #include <stdnoreturn.h>
7535375f98Sopenharmony_ci      #define UNITY_NORETURN noreturn
7635375f98Sopenharmony_ci    #endif
7735375f98Sopenharmony_ci  #endif
7835375f98Sopenharmony_ci#endif
7935375f98Sopenharmony_ci#ifndef UNITY_NORETURN
8035375f98Sopenharmony_ci  #define UNITY_NORETURN UNITY_FUNCTION_ATTR(__noreturn__)
8135375f98Sopenharmony_ci#endif
8235375f98Sopenharmony_ci
8335375f98Sopenharmony_ci/*-------------------------------------------------------
8435375f98Sopenharmony_ci * Guess Widths If Not Specified
8535375f98Sopenharmony_ci *-------------------------------------------------------*/
8635375f98Sopenharmony_ci
8735375f98Sopenharmony_ci/* Determine the size of an int, if not already specified.
8835375f98Sopenharmony_ci * We cannot use sizeof(int), because it is not yet defined
8935375f98Sopenharmony_ci * at this stage in the translation of the C program.
9035375f98Sopenharmony_ci * Also sizeof(int) does return the size in addressable units on all platforms,
9135375f98Sopenharmony_ci * which may not necessarily be the size in bytes.
9235375f98Sopenharmony_ci * Therefore, infer it from UINT_MAX if possible. */
9335375f98Sopenharmony_ci#ifndef UNITY_INT_WIDTH
9435375f98Sopenharmony_ci  #ifdef UINT_MAX
9535375f98Sopenharmony_ci    #if (UINT_MAX == 0xFFFF)
9635375f98Sopenharmony_ci      #define UNITY_INT_WIDTH (16)
9735375f98Sopenharmony_ci    #elif (UINT_MAX == 0xFFFFFFFF)
9835375f98Sopenharmony_ci      #define UNITY_INT_WIDTH (32)
9935375f98Sopenharmony_ci    #elif (UINT_MAX == 0xFFFFFFFFFFFFFFFF)
10035375f98Sopenharmony_ci      #define UNITY_INT_WIDTH (64)
10135375f98Sopenharmony_ci    #endif
10235375f98Sopenharmony_ci  #else /* Set to default */
10335375f98Sopenharmony_ci    #define UNITY_INT_WIDTH (32)
10435375f98Sopenharmony_ci  #endif /* UINT_MAX */
10535375f98Sopenharmony_ci#endif
10635375f98Sopenharmony_ci
10735375f98Sopenharmony_ci/* Determine the size of a long, if not already specified. */
10835375f98Sopenharmony_ci#ifndef UNITY_LONG_WIDTH
10935375f98Sopenharmony_ci  #ifdef ULONG_MAX
11035375f98Sopenharmony_ci    #if (ULONG_MAX == 0xFFFF)
11135375f98Sopenharmony_ci      #define UNITY_LONG_WIDTH (16)
11235375f98Sopenharmony_ci    #elif (ULONG_MAX == 0xFFFFFFFF)
11335375f98Sopenharmony_ci      #define UNITY_LONG_WIDTH (32)
11435375f98Sopenharmony_ci    #elif (ULONG_MAX == 0xFFFFFFFFFFFFFFFF)
11535375f98Sopenharmony_ci      #define UNITY_LONG_WIDTH (64)
11635375f98Sopenharmony_ci    #endif
11735375f98Sopenharmony_ci  #else /* Set to default */
11835375f98Sopenharmony_ci    #define UNITY_LONG_WIDTH (32)
11935375f98Sopenharmony_ci  #endif /* ULONG_MAX */
12035375f98Sopenharmony_ci#endif
12135375f98Sopenharmony_ci
12235375f98Sopenharmony_ci/* Determine the size of a pointer, if not already specified. */
12335375f98Sopenharmony_ci#ifndef UNITY_POINTER_WIDTH
12435375f98Sopenharmony_ci  #ifdef UINTPTR_MAX
12535375f98Sopenharmony_ci    #if (UINTPTR_MAX <= 0xFFFF)
12635375f98Sopenharmony_ci      #define UNITY_POINTER_WIDTH (16)
12735375f98Sopenharmony_ci    #elif (UINTPTR_MAX <= 0xFFFFFFFF)
12835375f98Sopenharmony_ci      #define UNITY_POINTER_WIDTH (32)
12935375f98Sopenharmony_ci    #elif (UINTPTR_MAX <= 0xFFFFFFFFFFFFFFFF)
13035375f98Sopenharmony_ci      #define UNITY_POINTER_WIDTH (64)
13135375f98Sopenharmony_ci    #endif
13235375f98Sopenharmony_ci  #else /* Set to default */
13335375f98Sopenharmony_ci    #define UNITY_POINTER_WIDTH UNITY_LONG_WIDTH
13435375f98Sopenharmony_ci  #endif /* UINTPTR_MAX */
13535375f98Sopenharmony_ci#endif
13635375f98Sopenharmony_ci
13735375f98Sopenharmony_ci/*-------------------------------------------------------
13835375f98Sopenharmony_ci * Int Support (Define types based on detected sizes)
13935375f98Sopenharmony_ci *-------------------------------------------------------*/
14035375f98Sopenharmony_ci
14135375f98Sopenharmony_ci#if (UNITY_INT_WIDTH == 32)
14235375f98Sopenharmony_ci    typedef unsigned char   UNITY_UINT8;
14335375f98Sopenharmony_ci    typedef unsigned short  UNITY_UINT16;
14435375f98Sopenharmony_ci    typedef unsigned int    UNITY_UINT32;
14535375f98Sopenharmony_ci    typedef signed char     UNITY_INT8;
14635375f98Sopenharmony_ci    typedef signed short    UNITY_INT16;
14735375f98Sopenharmony_ci    typedef signed int      UNITY_INT32;
14835375f98Sopenharmony_ci#elif (UNITY_INT_WIDTH == 16)
14935375f98Sopenharmony_ci    typedef unsigned char   UNITY_UINT8;
15035375f98Sopenharmony_ci    typedef unsigned int    UNITY_UINT16;
15135375f98Sopenharmony_ci    typedef unsigned long   UNITY_UINT32;
15235375f98Sopenharmony_ci    typedef signed char     UNITY_INT8;
15335375f98Sopenharmony_ci    typedef signed int      UNITY_INT16;
15435375f98Sopenharmony_ci    typedef signed long     UNITY_INT32;
15535375f98Sopenharmony_ci#else
15635375f98Sopenharmony_ci    #error Invalid UNITY_INT_WIDTH specified! (16 or 32 are supported)
15735375f98Sopenharmony_ci#endif
15835375f98Sopenharmony_ci
15935375f98Sopenharmony_ci/*-------------------------------------------------------
16035375f98Sopenharmony_ci * 64-bit Support
16135375f98Sopenharmony_ci *-------------------------------------------------------*/
16235375f98Sopenharmony_ci
16335375f98Sopenharmony_ci/* Auto-detect 64 Bit Support */
16435375f98Sopenharmony_ci#ifndef UNITY_SUPPORT_64
16535375f98Sopenharmony_ci  #if UNITY_LONG_WIDTH == 64 || UNITY_POINTER_WIDTH == 64
16635375f98Sopenharmony_ci    #define UNITY_SUPPORT_64
16735375f98Sopenharmony_ci  #endif
16835375f98Sopenharmony_ci#endif
16935375f98Sopenharmony_ci
17035375f98Sopenharmony_ci/* 64-Bit Support Dependent Configuration */
17135375f98Sopenharmony_ci#ifndef UNITY_SUPPORT_64
17235375f98Sopenharmony_ci    /* No 64-bit Support */
17335375f98Sopenharmony_ci    typedef UNITY_UINT32 UNITY_UINT;
17435375f98Sopenharmony_ci    typedef UNITY_INT32  UNITY_INT;
17535375f98Sopenharmony_ci    #define UNITY_MAX_NIBBLES (8)  /* Maximum number of nibbles in a UNITY_(U)INT */
17635375f98Sopenharmony_ci#else
17735375f98Sopenharmony_ci  /* 64-bit Support */
17835375f98Sopenharmony_ci  #if (UNITY_LONG_WIDTH == 32)
17935375f98Sopenharmony_ci    typedef unsigned long long UNITY_UINT64;
18035375f98Sopenharmony_ci    typedef signed long long   UNITY_INT64;
18135375f98Sopenharmony_ci  #elif (UNITY_LONG_WIDTH == 64)
18235375f98Sopenharmony_ci    typedef unsigned long      UNITY_UINT64;
18335375f98Sopenharmony_ci    typedef signed long        UNITY_INT64;
18435375f98Sopenharmony_ci  #else
18535375f98Sopenharmony_ci    #error Invalid UNITY_LONG_WIDTH specified! (32 or 64 are supported)
18635375f98Sopenharmony_ci  #endif
18735375f98Sopenharmony_ci    typedef UNITY_UINT64 UNITY_UINT;
18835375f98Sopenharmony_ci    typedef UNITY_INT64  UNITY_INT;
18935375f98Sopenharmony_ci    #define UNITY_MAX_NIBBLES (16) /* Maximum number of nibbles in a UNITY_(U)INT */
19035375f98Sopenharmony_ci#endif
19135375f98Sopenharmony_ci
19235375f98Sopenharmony_ci/*-------------------------------------------------------
19335375f98Sopenharmony_ci * Pointer Support
19435375f98Sopenharmony_ci *-------------------------------------------------------*/
19535375f98Sopenharmony_ci
19635375f98Sopenharmony_ci#if (UNITY_POINTER_WIDTH == 32)
19735375f98Sopenharmony_ci  #define UNITY_PTR_TO_INT UNITY_INT32
19835375f98Sopenharmony_ci  #define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX32
19935375f98Sopenharmony_ci#elif (UNITY_POINTER_WIDTH == 64)
20035375f98Sopenharmony_ci  #define UNITY_PTR_TO_INT UNITY_INT64
20135375f98Sopenharmony_ci  #define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX64
20235375f98Sopenharmony_ci#elif (UNITY_POINTER_WIDTH == 16)
20335375f98Sopenharmony_ci  #define UNITY_PTR_TO_INT UNITY_INT16
20435375f98Sopenharmony_ci  #define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX16
20535375f98Sopenharmony_ci#else
20635375f98Sopenharmony_ci  #error Invalid UNITY_POINTER_WIDTH specified! (16, 32 or 64 are supported)
20735375f98Sopenharmony_ci#endif
20835375f98Sopenharmony_ci
20935375f98Sopenharmony_ci#ifndef UNITY_PTR_ATTRIBUTE
21035375f98Sopenharmony_ci  #define UNITY_PTR_ATTRIBUTE
21135375f98Sopenharmony_ci#endif
21235375f98Sopenharmony_ci
21335375f98Sopenharmony_ci#ifndef UNITY_INTERNAL_PTR
21435375f98Sopenharmony_ci  #define UNITY_INTERNAL_PTR UNITY_PTR_ATTRIBUTE const void*
21535375f98Sopenharmony_ci#endif
21635375f98Sopenharmony_ci
21735375f98Sopenharmony_ci/* optionally define UNITY_COMPARE_PTRS_ON_ZERO_ARRAY */
21835375f98Sopenharmony_ci
21935375f98Sopenharmony_ci/*-------------------------------------------------------
22035375f98Sopenharmony_ci * Float Support
22135375f98Sopenharmony_ci *-------------------------------------------------------*/
22235375f98Sopenharmony_ci
22335375f98Sopenharmony_ci#ifdef UNITY_EXCLUDE_FLOAT
22435375f98Sopenharmony_ci
22535375f98Sopenharmony_ci/* No Floating Point Support */
22635375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_DOUBLE
22735375f98Sopenharmony_ci#define UNITY_EXCLUDE_DOUBLE /* Remove double when excluding float support */
22835375f98Sopenharmony_ci#endif
22935375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_FLOAT_PRINT
23035375f98Sopenharmony_ci#define UNITY_EXCLUDE_FLOAT_PRINT
23135375f98Sopenharmony_ci#endif
23235375f98Sopenharmony_ci
23335375f98Sopenharmony_ci#else
23435375f98Sopenharmony_ci
23535375f98Sopenharmony_ci/* Floating Point Support */
23635375f98Sopenharmony_ci#ifndef UNITY_FLOAT_PRECISION
23735375f98Sopenharmony_ci#define UNITY_FLOAT_PRECISION (0.00001f)
23835375f98Sopenharmony_ci#endif
23935375f98Sopenharmony_ci#ifndef UNITY_FLOAT_TYPE
24035375f98Sopenharmony_ci#define UNITY_FLOAT_TYPE float
24135375f98Sopenharmony_ci#endif
24235375f98Sopenharmony_citypedef UNITY_FLOAT_TYPE UNITY_FLOAT;
24335375f98Sopenharmony_ci
24435375f98Sopenharmony_ci/* isnan macro should be provided by math.h. Override if not macro */
24535375f98Sopenharmony_ci#ifndef UNITY_IS_NAN
24635375f98Sopenharmony_ci#ifndef isnan
24735375f98Sopenharmony_ci/* NaN is the only floating point value that does NOT equal itself.
24835375f98Sopenharmony_ci * Therefore if n != n, then it is NaN. */
24935375f98Sopenharmony_ci#define UNITY_IS_NAN(n) ((n != n) ? 1 : 0)
25035375f98Sopenharmony_ci#else
25135375f98Sopenharmony_ci#define UNITY_IS_NAN(n) isnan(n)
25235375f98Sopenharmony_ci#endif
25335375f98Sopenharmony_ci#endif
25435375f98Sopenharmony_ci
25535375f98Sopenharmony_ci/* isinf macro should be provided by math.h. Override if not macro */
25635375f98Sopenharmony_ci#ifndef UNITY_IS_INF
25735375f98Sopenharmony_ci#ifndef isinf
25835375f98Sopenharmony_ci/* The value of Inf - Inf is NaN */
25935375f98Sopenharmony_ci#define UNITY_IS_INF(n) (UNITY_IS_NAN((n) - (n)) && !UNITY_IS_NAN(n))
26035375f98Sopenharmony_ci#else
26135375f98Sopenharmony_ci#define UNITY_IS_INF(n) isinf(n)
26235375f98Sopenharmony_ci#endif
26335375f98Sopenharmony_ci#endif
26435375f98Sopenharmony_ci
26535375f98Sopenharmony_ci#endif
26635375f98Sopenharmony_ci
26735375f98Sopenharmony_ci/*-------------------------------------------------------
26835375f98Sopenharmony_ci * Double Float Support
26935375f98Sopenharmony_ci *-------------------------------------------------------*/
27035375f98Sopenharmony_ci
27135375f98Sopenharmony_ci/* unlike float, we DON'T include by default */
27235375f98Sopenharmony_ci#if defined(UNITY_EXCLUDE_DOUBLE) || !defined(UNITY_INCLUDE_DOUBLE)
27335375f98Sopenharmony_ci
27435375f98Sopenharmony_ci  /* No Floating Point Support */
27535375f98Sopenharmony_ci  #ifndef UNITY_EXCLUDE_DOUBLE
27635375f98Sopenharmony_ci  #define UNITY_EXCLUDE_DOUBLE
27735375f98Sopenharmony_ci  #else
27835375f98Sopenharmony_ci    #undef UNITY_INCLUDE_DOUBLE
27935375f98Sopenharmony_ci  #endif
28035375f98Sopenharmony_ci
28135375f98Sopenharmony_ci  #ifndef UNITY_EXCLUDE_FLOAT
28235375f98Sopenharmony_ci    #ifndef UNITY_DOUBLE_TYPE
28335375f98Sopenharmony_ci    #define UNITY_DOUBLE_TYPE double
28435375f98Sopenharmony_ci    #endif
28535375f98Sopenharmony_ci  typedef UNITY_FLOAT UNITY_DOUBLE;
28635375f98Sopenharmony_ci  /* For parameter in UnityPrintFloat(UNITY_DOUBLE), which aliases to double or float */
28735375f98Sopenharmony_ci  #endif
28835375f98Sopenharmony_ci
28935375f98Sopenharmony_ci#else
29035375f98Sopenharmony_ci
29135375f98Sopenharmony_ci  /* Double Floating Point Support */
29235375f98Sopenharmony_ci  #ifndef UNITY_DOUBLE_PRECISION
29335375f98Sopenharmony_ci  #define UNITY_DOUBLE_PRECISION (1e-12)
29435375f98Sopenharmony_ci  #endif
29535375f98Sopenharmony_ci
29635375f98Sopenharmony_ci  #ifndef UNITY_DOUBLE_TYPE
29735375f98Sopenharmony_ci  #define UNITY_DOUBLE_TYPE double
29835375f98Sopenharmony_ci  #endif
29935375f98Sopenharmony_ci  typedef UNITY_DOUBLE_TYPE UNITY_DOUBLE;
30035375f98Sopenharmony_ci
30135375f98Sopenharmony_ci#endif
30235375f98Sopenharmony_ci
30335375f98Sopenharmony_ci/*-------------------------------------------------------
30435375f98Sopenharmony_ci * Output Method: stdout (DEFAULT)
30535375f98Sopenharmony_ci *-------------------------------------------------------*/
30635375f98Sopenharmony_ci#ifndef UNITY_OUTPUT_CHAR
30735375f98Sopenharmony_ci  /* Default to using putchar, which is defined in stdio.h */
30835375f98Sopenharmony_ci  #include <stdio.h>
30935375f98Sopenharmony_ci  #define UNITY_OUTPUT_CHAR(a) (void)putchar(a)
31035375f98Sopenharmony_ci#else
31135375f98Sopenharmony_ci  /* If defined as something else, make sure we declare it here so it's ready for use */
31235375f98Sopenharmony_ci  #ifdef UNITY_OUTPUT_CHAR_HEADER_DECLARATION
31335375f98Sopenharmony_ci    extern void UNITY_OUTPUT_CHAR_HEADER_DECLARATION;
31435375f98Sopenharmony_ci  #endif
31535375f98Sopenharmony_ci#endif
31635375f98Sopenharmony_ci
31735375f98Sopenharmony_ci#ifndef UNITY_OUTPUT_FLUSH
31835375f98Sopenharmony_ci  #ifdef UNITY_USE_FLUSH_STDOUT
31935375f98Sopenharmony_ci    /* We want to use the stdout flush utility */
32035375f98Sopenharmony_ci    #include <stdio.h>
32135375f98Sopenharmony_ci    #define UNITY_OUTPUT_FLUSH()    (void)fflush(stdout)
32235375f98Sopenharmony_ci  #else
32335375f98Sopenharmony_ci    /* We've specified nothing, therefore flush should just be ignored */
32435375f98Sopenharmony_ci    #define UNITY_OUTPUT_FLUSH()    (void)0
32535375f98Sopenharmony_ci  #endif
32635375f98Sopenharmony_ci#else
32735375f98Sopenharmony_ci  /* If defined as something else, make sure we declare it here so it's ready for use */
32835375f98Sopenharmony_ci  #ifdef UNITY_OUTPUT_FLUSH_HEADER_DECLARATION
32935375f98Sopenharmony_ci    extern void UNITY_OUTPUT_FLUSH_HEADER_DECLARATION;
33035375f98Sopenharmony_ci  #endif
33135375f98Sopenharmony_ci#endif
33235375f98Sopenharmony_ci
33335375f98Sopenharmony_ci#ifndef UNITY_OUTPUT_FLUSH
33435375f98Sopenharmony_ci#define UNITY_FLUSH_CALL()
33535375f98Sopenharmony_ci#else
33635375f98Sopenharmony_ci#define UNITY_FLUSH_CALL()  UNITY_OUTPUT_FLUSH()
33735375f98Sopenharmony_ci#endif
33835375f98Sopenharmony_ci
33935375f98Sopenharmony_ci#ifndef UNITY_PRINT_EOL
34035375f98Sopenharmony_ci#define UNITY_PRINT_EOL()   UNITY_OUTPUT_CHAR('\n')
34135375f98Sopenharmony_ci#endif
34235375f98Sopenharmony_ci
34335375f98Sopenharmony_ci#ifndef UNITY_OUTPUT_START
34435375f98Sopenharmony_ci#define UNITY_OUTPUT_START()
34535375f98Sopenharmony_ci#endif
34635375f98Sopenharmony_ci
34735375f98Sopenharmony_ci#ifndef UNITY_OUTPUT_COMPLETE
34835375f98Sopenharmony_ci#define UNITY_OUTPUT_COMPLETE()
34935375f98Sopenharmony_ci#endif
35035375f98Sopenharmony_ci
35135375f98Sopenharmony_ci#ifdef UNITY_INCLUDE_EXEC_TIME
35235375f98Sopenharmony_ci  #if !defined(UNITY_EXEC_TIME_START) && \
35335375f98Sopenharmony_ci      !defined(UNITY_EXEC_TIME_STOP) && \
35435375f98Sopenharmony_ci      !defined(UNITY_PRINT_EXEC_TIME) && \
35535375f98Sopenharmony_ci      !defined(UNITY_TIME_TYPE)
35635375f98Sopenharmony_ci      /* If none any of these macros are defined then try to provide a default implementation */
35735375f98Sopenharmony_ci
35835375f98Sopenharmony_ci    #if defined(UNITY_CLOCK_MS)
35935375f98Sopenharmony_ci      /* This is a simple way to get a default implementation on platforms that support getting a millisecond counter */
36035375f98Sopenharmony_ci      #define UNITY_TIME_TYPE UNITY_UINT
36135375f98Sopenharmony_ci      #define UNITY_EXEC_TIME_START() Unity.CurrentTestStartTime = UNITY_CLOCK_MS()
36235375f98Sopenharmony_ci      #define UNITY_EXEC_TIME_STOP() Unity.CurrentTestStopTime = UNITY_CLOCK_MS()
36335375f98Sopenharmony_ci      #define UNITY_PRINT_EXEC_TIME() { \
36435375f98Sopenharmony_ci        UNITY_UINT execTimeMs = (Unity.CurrentTestStopTime - Unity.CurrentTestStartTime); \
36535375f98Sopenharmony_ci        UnityPrint(" ("); \
36635375f98Sopenharmony_ci        UnityPrintNumberUnsigned(execTimeMs); \
36735375f98Sopenharmony_ci        UnityPrint(" ms)"); \
36835375f98Sopenharmony_ci        }
36935375f98Sopenharmony_ci    #elif defined(_WIN32)
37035375f98Sopenharmony_ci      #include <time.h>
37135375f98Sopenharmony_ci      #define UNITY_TIME_TYPE clock_t
37235375f98Sopenharmony_ci      #define UNITY_GET_TIME(t) t = (clock_t)((clock() * 1000) / CLOCKS_PER_SEC)
37335375f98Sopenharmony_ci      #define UNITY_EXEC_TIME_START() UNITY_GET_TIME(Unity.CurrentTestStartTime)
37435375f98Sopenharmony_ci      #define UNITY_EXEC_TIME_STOP() UNITY_GET_TIME(Unity.CurrentTestStopTime)
37535375f98Sopenharmony_ci      #define UNITY_PRINT_EXEC_TIME() { \
37635375f98Sopenharmony_ci        UNITY_UINT execTimeMs = (Unity.CurrentTestStopTime - Unity.CurrentTestStartTime); \
37735375f98Sopenharmony_ci        UnityPrint(" ("); \
37835375f98Sopenharmony_ci        UnityPrintNumberUnsigned(execTimeMs); \
37935375f98Sopenharmony_ci        UnityPrint(" ms)"); \
38035375f98Sopenharmony_ci        }
38135375f98Sopenharmony_ci    #elif defined(__unix__) || defined(__APPLE__)
38235375f98Sopenharmony_ci      #include <time.h>
38335375f98Sopenharmony_ci      #define UNITY_TIME_TYPE struct timespec
38435375f98Sopenharmony_ci      #define UNITY_GET_TIME(t) clock_gettime(CLOCK_MONOTONIC, &t)
38535375f98Sopenharmony_ci      #define UNITY_EXEC_TIME_START() UNITY_GET_TIME(Unity.CurrentTestStartTime)
38635375f98Sopenharmony_ci      #define UNITY_EXEC_TIME_STOP() UNITY_GET_TIME(Unity.CurrentTestStopTime)
38735375f98Sopenharmony_ci      #define UNITY_PRINT_EXEC_TIME() { \
38835375f98Sopenharmony_ci        UNITY_UINT execTimeMs = ((Unity.CurrentTestStopTime.tv_sec - Unity.CurrentTestStartTime.tv_sec) * 1000L); \
38935375f98Sopenharmony_ci        execTimeMs += ((Unity.CurrentTestStopTime.tv_nsec - Unity.CurrentTestStartTime.tv_nsec) / 1000000L); \
39035375f98Sopenharmony_ci        UnityPrint(" ("); \
39135375f98Sopenharmony_ci        UnityPrintNumberUnsigned(execTimeMs); \
39235375f98Sopenharmony_ci        UnityPrint(" ms)"); \
39335375f98Sopenharmony_ci        }
39435375f98Sopenharmony_ci    #endif
39535375f98Sopenharmony_ci  #endif
39635375f98Sopenharmony_ci#endif
39735375f98Sopenharmony_ci
39835375f98Sopenharmony_ci#ifndef UNITY_EXEC_TIME_START
39935375f98Sopenharmony_ci#define UNITY_EXEC_TIME_START() do { /* nothing*/ } while (0)
40035375f98Sopenharmony_ci#endif
40135375f98Sopenharmony_ci
40235375f98Sopenharmony_ci#ifndef UNITY_EXEC_TIME_STOP
40335375f98Sopenharmony_ci#define UNITY_EXEC_TIME_STOP()  do { /* nothing*/ } while (0)
40435375f98Sopenharmony_ci#endif
40535375f98Sopenharmony_ci
40635375f98Sopenharmony_ci#ifndef UNITY_TIME_TYPE
40735375f98Sopenharmony_ci#define UNITY_TIME_TYPE         UNITY_UINT
40835375f98Sopenharmony_ci#endif
40935375f98Sopenharmony_ci
41035375f98Sopenharmony_ci#ifndef UNITY_PRINT_EXEC_TIME
41135375f98Sopenharmony_ci#define UNITY_PRINT_EXEC_TIME() do { /* nothing*/ } while (0)
41235375f98Sopenharmony_ci#endif
41335375f98Sopenharmony_ci
41435375f98Sopenharmony_ci/*-------------------------------------------------------
41535375f98Sopenharmony_ci * Footprint
41635375f98Sopenharmony_ci *-------------------------------------------------------*/
41735375f98Sopenharmony_ci
41835375f98Sopenharmony_ci#ifndef UNITY_LINE_TYPE
41935375f98Sopenharmony_ci#define UNITY_LINE_TYPE UNITY_UINT
42035375f98Sopenharmony_ci#endif
42135375f98Sopenharmony_ci
42235375f98Sopenharmony_ci#ifndef UNITY_COUNTER_TYPE
42335375f98Sopenharmony_ci#define UNITY_COUNTER_TYPE UNITY_UINT
42435375f98Sopenharmony_ci#endif
42535375f98Sopenharmony_ci
42635375f98Sopenharmony_ci/*-------------------------------------------------------
42735375f98Sopenharmony_ci * Internal Structs Needed
42835375f98Sopenharmony_ci *-------------------------------------------------------*/
42935375f98Sopenharmony_ci
43035375f98Sopenharmony_citypedef void (*UnityTestFunction)(void);
43135375f98Sopenharmony_ci
43235375f98Sopenharmony_ci#define UNITY_DISPLAY_RANGE_INT  (0x10)
43335375f98Sopenharmony_ci#define UNITY_DISPLAY_RANGE_UINT (0x20)
43435375f98Sopenharmony_ci#define UNITY_DISPLAY_RANGE_HEX  (0x40)
43535375f98Sopenharmony_ci#define UNITY_DISPLAY_RANGE_CHAR (0x80)
43635375f98Sopenharmony_ci
43735375f98Sopenharmony_citypedef enum
43835375f98Sopenharmony_ci{
43935375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_INT      = (UNITY_INT_WIDTH / 8) + UNITY_DISPLAY_RANGE_INT,
44035375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_INT8     = 1 + UNITY_DISPLAY_RANGE_INT,
44135375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_INT16    = 2 + UNITY_DISPLAY_RANGE_INT,
44235375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_INT32    = 4 + UNITY_DISPLAY_RANGE_INT,
44335375f98Sopenharmony_ci#ifdef UNITY_SUPPORT_64
44435375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_INT64    = 8 + UNITY_DISPLAY_RANGE_INT,
44535375f98Sopenharmony_ci#endif
44635375f98Sopenharmony_ci
44735375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_UINT     = (UNITY_INT_WIDTH / 8) + UNITY_DISPLAY_RANGE_UINT,
44835375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_UINT8    = 1 + UNITY_DISPLAY_RANGE_UINT,
44935375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_UINT16   = 2 + UNITY_DISPLAY_RANGE_UINT,
45035375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_UINT32   = 4 + UNITY_DISPLAY_RANGE_UINT,
45135375f98Sopenharmony_ci#ifdef UNITY_SUPPORT_64
45235375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_UINT64   = 8 + UNITY_DISPLAY_RANGE_UINT,
45335375f98Sopenharmony_ci#endif
45435375f98Sopenharmony_ci
45535375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_HEX8     = 1 + UNITY_DISPLAY_RANGE_HEX,
45635375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_HEX16    = 2 + UNITY_DISPLAY_RANGE_HEX,
45735375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_HEX32    = 4 + UNITY_DISPLAY_RANGE_HEX,
45835375f98Sopenharmony_ci#ifdef UNITY_SUPPORT_64
45935375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_HEX64    = 8 + UNITY_DISPLAY_RANGE_HEX,
46035375f98Sopenharmony_ci#endif
46135375f98Sopenharmony_ci
46235375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_CHAR     = 1 + UNITY_DISPLAY_RANGE_CHAR + UNITY_DISPLAY_RANGE_INT,
46335375f98Sopenharmony_ci
46435375f98Sopenharmony_ci    UNITY_DISPLAY_STYLE_UNKNOWN
46535375f98Sopenharmony_ci} UNITY_DISPLAY_STYLE_T;
46635375f98Sopenharmony_ci
46735375f98Sopenharmony_citypedef enum
46835375f98Sopenharmony_ci{
46935375f98Sopenharmony_ci    UNITY_WITHIN           = 0x0,
47035375f98Sopenharmony_ci    UNITY_EQUAL_TO         = 0x1,
47135375f98Sopenharmony_ci    UNITY_GREATER_THAN     = 0x2,
47235375f98Sopenharmony_ci    UNITY_GREATER_OR_EQUAL = 0x2 + UNITY_EQUAL_TO,
47335375f98Sopenharmony_ci    UNITY_SMALLER_THAN     = 0x4,
47435375f98Sopenharmony_ci    UNITY_SMALLER_OR_EQUAL = 0x4 + UNITY_EQUAL_TO,
47535375f98Sopenharmony_ci    UNITY_NOT_EQUAL        = 0x0,
47635375f98Sopenharmony_ci    UNITY_UNKNOWN
47735375f98Sopenharmony_ci} UNITY_COMPARISON_T;
47835375f98Sopenharmony_ci
47935375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_FLOAT
48035375f98Sopenharmony_citypedef enum UNITY_FLOAT_TRAIT
48135375f98Sopenharmony_ci{
48235375f98Sopenharmony_ci    UNITY_FLOAT_IS_NOT_INF       = 0,
48335375f98Sopenharmony_ci    UNITY_FLOAT_IS_INF,
48435375f98Sopenharmony_ci    UNITY_FLOAT_IS_NOT_NEG_INF,
48535375f98Sopenharmony_ci    UNITY_FLOAT_IS_NEG_INF,
48635375f98Sopenharmony_ci    UNITY_FLOAT_IS_NOT_NAN,
48735375f98Sopenharmony_ci    UNITY_FLOAT_IS_NAN,
48835375f98Sopenharmony_ci    UNITY_FLOAT_IS_NOT_DET,
48935375f98Sopenharmony_ci    UNITY_FLOAT_IS_DET,
49035375f98Sopenharmony_ci    UNITY_FLOAT_INVALID_TRAIT
49135375f98Sopenharmony_ci} UNITY_FLOAT_TRAIT_T;
49235375f98Sopenharmony_ci#endif
49335375f98Sopenharmony_ci
49435375f98Sopenharmony_citypedef enum
49535375f98Sopenharmony_ci{
49635375f98Sopenharmony_ci    UNITY_ARRAY_TO_VAL = 0,
49735375f98Sopenharmony_ci    UNITY_ARRAY_TO_ARRAY,
49835375f98Sopenharmony_ci    UNITY_ARRAY_UNKNOWN
49935375f98Sopenharmony_ci} UNITY_FLAGS_T;
50035375f98Sopenharmony_ci
50135375f98Sopenharmony_cistruct UNITY_STORAGE_T
50235375f98Sopenharmony_ci{
50335375f98Sopenharmony_ci    const char* TestFile;
50435375f98Sopenharmony_ci    const char* CurrentTestName;
50535375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_DETAILS
50635375f98Sopenharmony_ci    const char* CurrentDetail1;
50735375f98Sopenharmony_ci    const char* CurrentDetail2;
50835375f98Sopenharmony_ci#endif
50935375f98Sopenharmony_ci    UNITY_LINE_TYPE CurrentTestLineNumber;
51035375f98Sopenharmony_ci    UNITY_COUNTER_TYPE NumberOfTests;
51135375f98Sopenharmony_ci    UNITY_COUNTER_TYPE TestFailures;
51235375f98Sopenharmony_ci    UNITY_COUNTER_TYPE TestIgnores;
51335375f98Sopenharmony_ci    UNITY_COUNTER_TYPE CurrentTestFailed;
51435375f98Sopenharmony_ci    UNITY_COUNTER_TYPE CurrentTestIgnored;
51535375f98Sopenharmony_ci#ifdef UNITY_INCLUDE_EXEC_TIME
51635375f98Sopenharmony_ci    UNITY_TIME_TYPE CurrentTestStartTime;
51735375f98Sopenharmony_ci    UNITY_TIME_TYPE CurrentTestStopTime;
51835375f98Sopenharmony_ci#endif
51935375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_SETJMP_H
52035375f98Sopenharmony_ci    jmp_buf AbortFrame;
52135375f98Sopenharmony_ci#endif
52235375f98Sopenharmony_ci};
52335375f98Sopenharmony_ci
52435375f98Sopenharmony_ciextern struct UNITY_STORAGE_T Unity;
52535375f98Sopenharmony_ci
52635375f98Sopenharmony_ci/*-------------------------------------------------------
52735375f98Sopenharmony_ci * Test Suite Management
52835375f98Sopenharmony_ci *-------------------------------------------------------*/
52935375f98Sopenharmony_ci
53035375f98Sopenharmony_civoid UnityBegin(const char* filename);
53135375f98Sopenharmony_ciint  UnityEnd(void);
53235375f98Sopenharmony_civoid UnitySetTestFile(const char* filename);
53335375f98Sopenharmony_civoid UnityConcludeTest(void);
53435375f98Sopenharmony_ci
53535375f98Sopenharmony_ci#ifndef RUN_TEST
53635375f98Sopenharmony_civoid UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int FuncLineNum);
53735375f98Sopenharmony_ci#else
53835375f98Sopenharmony_ci#define UNITY_SKIP_DEFAULT_RUNNER
53935375f98Sopenharmony_ci#endif
54035375f98Sopenharmony_ci
54135375f98Sopenharmony_ci/*-------------------------------------------------------
54235375f98Sopenharmony_ci * Details Support
54335375f98Sopenharmony_ci *-------------------------------------------------------*/
54435375f98Sopenharmony_ci
54535375f98Sopenharmony_ci#ifdef UNITY_EXCLUDE_DETAILS
54635375f98Sopenharmony_ci#define UNITY_CLR_DETAILS()
54735375f98Sopenharmony_ci#define UNITY_SET_DETAIL(d1)
54835375f98Sopenharmony_ci#define UNITY_SET_DETAILS(d1,d2)
54935375f98Sopenharmony_ci#else
55035375f98Sopenharmony_ci#define UNITY_CLR_DETAILS()         do { Unity.CurrentDetail1 = 0;     Unity.CurrentDetail2 = 0;    } while (0)
55135375f98Sopenharmony_ci#define UNITY_SET_DETAIL(d1)        do { Unity.CurrentDetail1 = (d1);  Unity.CurrentDetail2 = 0;    } while (0)
55235375f98Sopenharmony_ci#define UNITY_SET_DETAILS(d1,d2)    do { Unity.CurrentDetail1 = (d1);  Unity.CurrentDetail2 = (d2); } while (0)
55335375f98Sopenharmony_ci
55435375f98Sopenharmony_ci#ifndef UNITY_DETAIL1_NAME
55535375f98Sopenharmony_ci#define UNITY_DETAIL1_NAME "Function"
55635375f98Sopenharmony_ci#endif
55735375f98Sopenharmony_ci
55835375f98Sopenharmony_ci#ifndef UNITY_DETAIL2_NAME
55935375f98Sopenharmony_ci#define UNITY_DETAIL2_NAME "Argument"
56035375f98Sopenharmony_ci#endif
56135375f98Sopenharmony_ci#endif
56235375f98Sopenharmony_ci
56335375f98Sopenharmony_ci#ifdef UNITY_PRINT_TEST_CONTEXT
56435375f98Sopenharmony_civoid UNITY_PRINT_TEST_CONTEXT(void);
56535375f98Sopenharmony_ci#endif
56635375f98Sopenharmony_ci
56735375f98Sopenharmony_ci/*-------------------------------------------------------
56835375f98Sopenharmony_ci * Test Output
56935375f98Sopenharmony_ci *-------------------------------------------------------*/
57035375f98Sopenharmony_ci
57135375f98Sopenharmony_civoid UnityPrint(const char* string);
57235375f98Sopenharmony_ci
57335375f98Sopenharmony_ci#ifdef UNITY_INCLUDE_PRINT_FORMATTED
57435375f98Sopenharmony_civoid UnityPrintF(const UNITY_LINE_TYPE line, const char* format, ...);
57535375f98Sopenharmony_ci#endif
57635375f98Sopenharmony_ci
57735375f98Sopenharmony_civoid UnityPrintLen(const char* string, const UNITY_UINT32 length);
57835375f98Sopenharmony_civoid UnityPrintMask(const UNITY_UINT mask, const UNITY_UINT number);
57935375f98Sopenharmony_civoid UnityPrintNumberByStyle(const UNITY_INT number, const UNITY_DISPLAY_STYLE_T style);
58035375f98Sopenharmony_civoid UnityPrintNumber(const UNITY_INT number_to_print);
58135375f98Sopenharmony_civoid UnityPrintNumberUnsigned(const UNITY_UINT number);
58235375f98Sopenharmony_civoid UnityPrintNumberHex(const UNITY_UINT number, const char nibbles_to_print);
58335375f98Sopenharmony_ci
58435375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_FLOAT_PRINT
58535375f98Sopenharmony_civoid UnityPrintFloat(const UNITY_DOUBLE input_number);
58635375f98Sopenharmony_ci#endif
58735375f98Sopenharmony_ci
58835375f98Sopenharmony_ci/*-------------------------------------------------------
58935375f98Sopenharmony_ci * Test Assertion Functions
59035375f98Sopenharmony_ci *-------------------------------------------------------
59135375f98Sopenharmony_ci *  Use the macros below this section instead of calling
59235375f98Sopenharmony_ci *  these directly. The macros have a consistent naming
59335375f98Sopenharmony_ci *  convention and will pull in file and line information
59435375f98Sopenharmony_ci *  for you. */
59535375f98Sopenharmony_ci
59635375f98Sopenharmony_civoid UnityAssertEqualNumber(const UNITY_INT expected,
59735375f98Sopenharmony_ci                            const UNITY_INT actual,
59835375f98Sopenharmony_ci                            const char* msg,
59935375f98Sopenharmony_ci                            const UNITY_LINE_TYPE lineNumber,
60035375f98Sopenharmony_ci                            const UNITY_DISPLAY_STYLE_T style);
60135375f98Sopenharmony_ci
60235375f98Sopenharmony_civoid UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold,
60335375f98Sopenharmony_ci                                           const UNITY_INT actual,
60435375f98Sopenharmony_ci                                           const UNITY_COMPARISON_T compare,
60535375f98Sopenharmony_ci                                           const char *msg,
60635375f98Sopenharmony_ci                                           const UNITY_LINE_TYPE lineNumber,
60735375f98Sopenharmony_ci                                           const UNITY_DISPLAY_STYLE_T style);
60835375f98Sopenharmony_ci
60935375f98Sopenharmony_civoid UnityAssertEqualIntArray(UNITY_INTERNAL_PTR expected,
61035375f98Sopenharmony_ci                              UNITY_INTERNAL_PTR actual,
61135375f98Sopenharmony_ci                              const UNITY_UINT32 num_elements,
61235375f98Sopenharmony_ci                              const char* msg,
61335375f98Sopenharmony_ci                              const UNITY_LINE_TYPE lineNumber,
61435375f98Sopenharmony_ci                              const UNITY_DISPLAY_STYLE_T style,
61535375f98Sopenharmony_ci                              const UNITY_FLAGS_T flags);
61635375f98Sopenharmony_ci
61735375f98Sopenharmony_civoid UnityAssertBits(const UNITY_INT mask,
61835375f98Sopenharmony_ci                     const UNITY_INT expected,
61935375f98Sopenharmony_ci                     const UNITY_INT actual,
62035375f98Sopenharmony_ci                     const char* msg,
62135375f98Sopenharmony_ci                     const UNITY_LINE_TYPE lineNumber);
62235375f98Sopenharmony_ci
62335375f98Sopenharmony_civoid UnityAssertEqualString(const char* expected,
62435375f98Sopenharmony_ci                            const char* actual,
62535375f98Sopenharmony_ci                            const char* msg,
62635375f98Sopenharmony_ci                            const UNITY_LINE_TYPE lineNumber);
62735375f98Sopenharmony_ci
62835375f98Sopenharmony_civoid UnityAssertEqualStringLen(const char* expected,
62935375f98Sopenharmony_ci                            const char* actual,
63035375f98Sopenharmony_ci                            const UNITY_UINT32 length,
63135375f98Sopenharmony_ci                            const char* msg,
63235375f98Sopenharmony_ci                            const UNITY_LINE_TYPE lineNumber);
63335375f98Sopenharmony_ci
63435375f98Sopenharmony_civoid UnityAssertEqualStringArray( UNITY_INTERNAL_PTR expected,
63535375f98Sopenharmony_ci                                  const char** actual,
63635375f98Sopenharmony_ci                                  const UNITY_UINT32 num_elements,
63735375f98Sopenharmony_ci                                  const char* msg,
63835375f98Sopenharmony_ci                                  const UNITY_LINE_TYPE lineNumber,
63935375f98Sopenharmony_ci                                  const UNITY_FLAGS_T flags);
64035375f98Sopenharmony_ci
64135375f98Sopenharmony_civoid UnityAssertEqualMemory( UNITY_INTERNAL_PTR expected,
64235375f98Sopenharmony_ci                             UNITY_INTERNAL_PTR actual,
64335375f98Sopenharmony_ci                             const UNITY_UINT32 length,
64435375f98Sopenharmony_ci                             const UNITY_UINT32 num_elements,
64535375f98Sopenharmony_ci                             const char* msg,
64635375f98Sopenharmony_ci                             const UNITY_LINE_TYPE lineNumber,
64735375f98Sopenharmony_ci                             const UNITY_FLAGS_T flags);
64835375f98Sopenharmony_ci
64935375f98Sopenharmony_civoid UnityAssertNumbersWithin(const UNITY_UINT delta,
65035375f98Sopenharmony_ci                              const UNITY_INT expected,
65135375f98Sopenharmony_ci                              const UNITY_INT actual,
65235375f98Sopenharmony_ci                              const char* msg,
65335375f98Sopenharmony_ci                              const UNITY_LINE_TYPE lineNumber,
65435375f98Sopenharmony_ci                              const UNITY_DISPLAY_STYLE_T style);
65535375f98Sopenharmony_ci
65635375f98Sopenharmony_civoid UnityAssertNumbersArrayWithin(const UNITY_UINT delta,
65735375f98Sopenharmony_ci                                   UNITY_INTERNAL_PTR expected,
65835375f98Sopenharmony_ci                                   UNITY_INTERNAL_PTR actual,
65935375f98Sopenharmony_ci                                   const UNITY_UINT32 num_elements,
66035375f98Sopenharmony_ci                                   const char* msg,
66135375f98Sopenharmony_ci                                   const UNITY_LINE_TYPE lineNumber,
66235375f98Sopenharmony_ci                                   const UNITY_DISPLAY_STYLE_T style,
66335375f98Sopenharmony_ci                                   const UNITY_FLAGS_T flags);
66435375f98Sopenharmony_ci
66535375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_SETJMP_H
66635375f98Sopenharmony_ciUNITY_NORETURN void UnityFail(const char* message, const UNITY_LINE_TYPE line);
66735375f98Sopenharmony_ciUNITY_NORETURN void UnityIgnore(const char* message, const UNITY_LINE_TYPE line);
66835375f98Sopenharmony_ci#else
66935375f98Sopenharmony_civoid UnityFail(const char* message, const UNITY_LINE_TYPE line);
67035375f98Sopenharmony_civoid UnityIgnore(const char* message, const UNITY_LINE_TYPE line);
67135375f98Sopenharmony_ci#endif
67235375f98Sopenharmony_ci
67335375f98Sopenharmony_civoid UnityMessage(const char* message, const UNITY_LINE_TYPE line);
67435375f98Sopenharmony_ci
67535375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_FLOAT
67635375f98Sopenharmony_civoid UnityAssertFloatsWithin(const UNITY_FLOAT delta,
67735375f98Sopenharmony_ci                             const UNITY_FLOAT expected,
67835375f98Sopenharmony_ci                             const UNITY_FLOAT actual,
67935375f98Sopenharmony_ci                             const char* msg,
68035375f98Sopenharmony_ci                             const UNITY_LINE_TYPE lineNumber);
68135375f98Sopenharmony_ci
68235375f98Sopenharmony_civoid UnityAssertFloatsNotWithin(const UNITY_FLOAT delta,
68335375f98Sopenharmony_ci                                const UNITY_FLOAT expected,
68435375f98Sopenharmony_ci                                const UNITY_FLOAT actual,
68535375f98Sopenharmony_ci                                const char* msg,
68635375f98Sopenharmony_ci                                const UNITY_LINE_TYPE lineNumber);
68735375f98Sopenharmony_ci
68835375f98Sopenharmony_civoid UnityAssertGreaterOrLessFloat(const UNITY_FLOAT threshold,
68935375f98Sopenharmony_ci                                   const UNITY_FLOAT actual,
69035375f98Sopenharmony_ci                                   const UNITY_COMPARISON_T compare,
69135375f98Sopenharmony_ci                                   const char* msg,
69235375f98Sopenharmony_ci                                   const UNITY_LINE_TYPE linenumber);
69335375f98Sopenharmony_ci
69435375f98Sopenharmony_civoid UnityAssertWithinFloatArray(const UNITY_FLOAT delta,
69535375f98Sopenharmony_ci                                 UNITY_PTR_ATTRIBUTE const UNITY_FLOAT* expected,
69635375f98Sopenharmony_ci                                 UNITY_PTR_ATTRIBUTE const UNITY_FLOAT* actual,
69735375f98Sopenharmony_ci                                 const UNITY_UINT32 num_elements,
69835375f98Sopenharmony_ci                                 const char* msg,
69935375f98Sopenharmony_ci                                 const UNITY_LINE_TYPE lineNumber,
70035375f98Sopenharmony_ci                                 const UNITY_FLAGS_T flags);
70135375f98Sopenharmony_ci
70235375f98Sopenharmony_civoid UnityAssertFloatSpecial(const UNITY_FLOAT actual,
70335375f98Sopenharmony_ci                             const char* msg,
70435375f98Sopenharmony_ci                             const UNITY_LINE_TYPE lineNumber,
70535375f98Sopenharmony_ci                             const UNITY_FLOAT_TRAIT_T style);
70635375f98Sopenharmony_ci#endif
70735375f98Sopenharmony_ci
70835375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_DOUBLE
70935375f98Sopenharmony_civoid UnityAssertDoublesWithin(const UNITY_DOUBLE delta,
71035375f98Sopenharmony_ci                              const UNITY_DOUBLE expected,
71135375f98Sopenharmony_ci                              const UNITY_DOUBLE actual,
71235375f98Sopenharmony_ci                              const char* msg,
71335375f98Sopenharmony_ci                              const UNITY_LINE_TYPE lineNumber);
71435375f98Sopenharmony_ci
71535375f98Sopenharmony_civoid UnityAssertDoublesNotWithin(const UNITY_DOUBLE delta,
71635375f98Sopenharmony_ci                                 const UNITY_DOUBLE expected,
71735375f98Sopenharmony_ci                                 const UNITY_DOUBLE actual,
71835375f98Sopenharmony_ci                                 const char* msg,
71935375f98Sopenharmony_ci                                 const UNITY_LINE_TYPE lineNumber);
72035375f98Sopenharmony_ci
72135375f98Sopenharmony_civoid UnityAssertGreaterOrLessDouble(const UNITY_DOUBLE threshold,
72235375f98Sopenharmony_ci                                    const UNITY_DOUBLE actual,
72335375f98Sopenharmony_ci                                    const UNITY_COMPARISON_T compare,
72435375f98Sopenharmony_ci                                    const char* msg,
72535375f98Sopenharmony_ci                                    const UNITY_LINE_TYPE linenumber);
72635375f98Sopenharmony_ci
72735375f98Sopenharmony_civoid UnityAssertWithinDoubleArray(const UNITY_DOUBLE delta,
72835375f98Sopenharmony_ci                                  UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE* expected,
72935375f98Sopenharmony_ci                                  UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE* actual,
73035375f98Sopenharmony_ci                                  const UNITY_UINT32 num_elements,
73135375f98Sopenharmony_ci                                  const char* msg,
73235375f98Sopenharmony_ci                                  const UNITY_LINE_TYPE lineNumber,
73335375f98Sopenharmony_ci                                  const UNITY_FLAGS_T flags);
73435375f98Sopenharmony_ci
73535375f98Sopenharmony_civoid UnityAssertDoubleSpecial(const UNITY_DOUBLE actual,
73635375f98Sopenharmony_ci                              const char* msg,
73735375f98Sopenharmony_ci                              const UNITY_LINE_TYPE lineNumber,
73835375f98Sopenharmony_ci                              const UNITY_FLOAT_TRAIT_T style);
73935375f98Sopenharmony_ci#endif
74035375f98Sopenharmony_ci
74135375f98Sopenharmony_ci/*-------------------------------------------------------
74235375f98Sopenharmony_ci * Helpers
74335375f98Sopenharmony_ci *-------------------------------------------------------*/
74435375f98Sopenharmony_ci
74535375f98Sopenharmony_ciUNITY_INTERNAL_PTR UnityNumToPtr(const UNITY_INT num, const UNITY_UINT8 size);
74635375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_FLOAT
74735375f98Sopenharmony_ciUNITY_INTERNAL_PTR UnityFloatToPtr(const float num);
74835375f98Sopenharmony_ci#endif
74935375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_DOUBLE
75035375f98Sopenharmony_ciUNITY_INTERNAL_PTR UnityDoubleToPtr(const double num);
75135375f98Sopenharmony_ci#endif
75235375f98Sopenharmony_ci
75335375f98Sopenharmony_ci/*-------------------------------------------------------
75435375f98Sopenharmony_ci * Error Strings We Might Need
75535375f98Sopenharmony_ci *-------------------------------------------------------*/
75635375f98Sopenharmony_ci
75735375f98Sopenharmony_ciextern const char UnityStrOk[];
75835375f98Sopenharmony_ciextern const char UnityStrPass[];
75935375f98Sopenharmony_ciextern const char UnityStrFail[];
76035375f98Sopenharmony_ciextern const char UnityStrIgnore[];
76135375f98Sopenharmony_ci
76235375f98Sopenharmony_ciextern const char UnityStrErrFloat[];
76335375f98Sopenharmony_ciextern const char UnityStrErrDouble[];
76435375f98Sopenharmony_ciextern const char UnityStrErr64[];
76535375f98Sopenharmony_ciextern const char UnityStrErrShorthand[];
76635375f98Sopenharmony_ci
76735375f98Sopenharmony_ci/*-------------------------------------------------------
76835375f98Sopenharmony_ci * Test Running Macros
76935375f98Sopenharmony_ci *-------------------------------------------------------*/
77035375f98Sopenharmony_ci
77135375f98Sopenharmony_ci#ifdef UNITY_TEST_PROTECT
77235375f98Sopenharmony_ci#define TEST_PROTECT() UNITY_TEST_PROTECT()
77335375f98Sopenharmony_ci#else
77435375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_SETJMP_H
77535375f98Sopenharmony_ci#define TEST_PROTECT() (setjmp(Unity.AbortFrame) == 0)
77635375f98Sopenharmony_ci#else
77735375f98Sopenharmony_ci#define TEST_PROTECT() 1
77835375f98Sopenharmony_ci#endif
77935375f98Sopenharmony_ci#endif
78035375f98Sopenharmony_ci
78135375f98Sopenharmony_ci#ifdef UNITY_TEST_ABORT
78235375f98Sopenharmony_ci#define TEST_ABORT() UNITY_TEST_ABORT()
78335375f98Sopenharmony_ci#else
78435375f98Sopenharmony_ci#ifndef UNITY_EXCLUDE_SETJMP_H
78535375f98Sopenharmony_ci#define TEST_ABORT() longjmp(Unity.AbortFrame, 1)
78635375f98Sopenharmony_ci#else
78735375f98Sopenharmony_ci#define TEST_ABORT() return
78835375f98Sopenharmony_ci#endif
78935375f98Sopenharmony_ci#endif
79035375f98Sopenharmony_ci
79135375f98Sopenharmony_ci/* Automatically enable variadic macros support, if it not enabled before */
79235375f98Sopenharmony_ci#ifndef UNITY_SUPPORT_VARIADIC_MACROS
79335375f98Sopenharmony_ci  #ifdef __STDC_VERSION__
79435375f98Sopenharmony_ci    #if __STDC_VERSION__ >= 199901L
79535375f98Sopenharmony_ci      #define UNITY_SUPPORT_VARIADIC_MACROS
79635375f98Sopenharmony_ci    #endif
79735375f98Sopenharmony_ci  #endif
79835375f98Sopenharmony_ci#endif
79935375f98Sopenharmony_ci
80035375f98Sopenharmony_ci/* This tricky series of macros gives us an optional line argument to treat it as RUN_TEST(func, num=__LINE__) */
80135375f98Sopenharmony_ci#ifndef RUN_TEST
80235375f98Sopenharmony_ci#ifdef UNITY_SUPPORT_VARIADIC_MACROS
80335375f98Sopenharmony_ci#define RUN_TEST(...) RUN_TEST_AT_LINE(__VA_ARGS__, __LINE__, throwaway)
80435375f98Sopenharmony_ci#define RUN_TEST_AT_LINE(func, line, ...) UnityDefaultTestRun(func, #func, line)
80535375f98Sopenharmony_ci#endif
80635375f98Sopenharmony_ci#endif
80735375f98Sopenharmony_ci
80835375f98Sopenharmony_ci/* Enable default macros for masking param tests test cases */
80935375f98Sopenharmony_ci#ifdef UNITY_SUPPORT_TEST_CASES
81035375f98Sopenharmony_ci  #ifdef UNITY_SUPPORT_VARIADIC_MACROS
81135375f98Sopenharmony_ci    #if !defined(TEST_CASE) && !defined(UNITY_EXCLUDE_TEST_CASE)
81235375f98Sopenharmony_ci      #define TEST_CASE(...)
81335375f98Sopenharmony_ci    #endif
81435375f98Sopenharmony_ci    #if !defined(TEST_RANGE) && !defined(UNITY_EXCLUDE_TEST_RANGE)
81535375f98Sopenharmony_ci      #define TEST_RANGE(...)
81635375f98Sopenharmony_ci    #endif
81735375f98Sopenharmony_ci    #if !defined(TEST_MATRIX) && !defined(UNITY_EXCLUDE_TEST_MATRIX)
81835375f98Sopenharmony_ci      #define TEST_MATRIX(...)
81935375f98Sopenharmony_ci    #endif
82035375f98Sopenharmony_ci  #endif
82135375f98Sopenharmony_ci#endif
82235375f98Sopenharmony_ci
82335375f98Sopenharmony_ci/* If we can't do the tricky version, we'll just have to require them to always include the line number */
82435375f98Sopenharmony_ci#ifndef RUN_TEST
82535375f98Sopenharmony_ci#ifdef CMOCK
82635375f98Sopenharmony_ci#define RUN_TEST(func, num) UnityDefaultTestRun(func, #func, num)
82735375f98Sopenharmony_ci#else
82835375f98Sopenharmony_ci#define RUN_TEST(func) UnityDefaultTestRun(func, #func, __LINE__)
82935375f98Sopenharmony_ci#endif
83035375f98Sopenharmony_ci#endif
83135375f98Sopenharmony_ci
83235375f98Sopenharmony_ci#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
83335375f98Sopenharmony_ci#define TEST_IS_IGNORED (Unity.CurrentTestIgnored)
83435375f98Sopenharmony_ci#define UNITY_NEW_TEST(a) \
83535375f98Sopenharmony_ci    Unity.CurrentTestName = (a); \
83635375f98Sopenharmony_ci    Unity.CurrentTestLineNumber = (UNITY_LINE_TYPE)(__LINE__); \
83735375f98Sopenharmony_ci    Unity.NumberOfTests++;
83835375f98Sopenharmony_ci
83935375f98Sopenharmony_ci#ifndef UNITY_BEGIN
84035375f98Sopenharmony_ci#define UNITY_BEGIN() UnityBegin(__FILE__)
84135375f98Sopenharmony_ci#endif
84235375f98Sopenharmony_ci
84335375f98Sopenharmony_ci#ifndef UNITY_END
84435375f98Sopenharmony_ci#define UNITY_END() UnityEnd()
84535375f98Sopenharmony_ci#endif
84635375f98Sopenharmony_ci
84735375f98Sopenharmony_ci#ifndef UNITY_SHORTHAND_AS_INT
84835375f98Sopenharmony_ci#ifndef UNITY_SHORTHAND_AS_MEM
84935375f98Sopenharmony_ci#ifndef UNITY_SHORTHAND_AS_NONE
85035375f98Sopenharmony_ci#ifndef UNITY_SHORTHAND_AS_RAW
85135375f98Sopenharmony_ci#define UNITY_SHORTHAND_AS_OLD
85235375f98Sopenharmony_ci#endif
85335375f98Sopenharmony_ci#endif
85435375f98Sopenharmony_ci#endif
85535375f98Sopenharmony_ci#endif
85635375f98Sopenharmony_ci
85735375f98Sopenharmony_ci/*-----------------------------------------------
85835375f98Sopenharmony_ci * Command Line Argument Support
85935375f98Sopenharmony_ci *-----------------------------------------------*/
86035375f98Sopenharmony_ci
86135375f98Sopenharmony_ci#ifdef UNITY_USE_COMMAND_LINE_ARGS
86235375f98Sopenharmony_ciint UnityParseOptions(int argc, char** argv);
86335375f98Sopenharmony_ciint UnityTestMatches(void);
86435375f98Sopenharmony_ci#endif
86535375f98Sopenharmony_ci
86635375f98Sopenharmony_ci/*-------------------------------------------------------
86735375f98Sopenharmony_ci * Basic Fail and Ignore
86835375f98Sopenharmony_ci *-------------------------------------------------------*/
86935375f98Sopenharmony_ci
87035375f98Sopenharmony_ci#define UNITY_TEST_FAIL(line, message)   UnityFail(   (message), (UNITY_LINE_TYPE)(line))
87135375f98Sopenharmony_ci#define UNITY_TEST_IGNORE(line, message) UnityIgnore( (message), (UNITY_LINE_TYPE)(line))
87235375f98Sopenharmony_ci
87335375f98Sopenharmony_ci/*-------------------------------------------------------
87435375f98Sopenharmony_ci * Test Asserts
87535375f98Sopenharmony_ci *-------------------------------------------------------*/
87635375f98Sopenharmony_ci
87735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT(condition, line, message)                                              do { if (condition) { /* nothing*/ } else { UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), (message)); } } while (0)
87835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NULL(pointer, line, message)                                           UNITY_TEST_ASSERT(((pointer) == NULL),  (UNITY_LINE_TYPE)(line), (message))
87935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_NULL(pointer, line, message)                                       UNITY_TEST_ASSERT(((pointer) != NULL),  (UNITY_LINE_TYPE)(line), (message))
88035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EMPTY(pointer, line, message)                                          UNITY_TEST_ASSERT(((pointer[0]) == 0),  (UNITY_LINE_TYPE)(line), (message))
88135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EMPTY(pointer, line, message)                                      UNITY_TEST_ASSERT(((pointer[0]) != 0),  (UNITY_LINE_TYPE)(line), (message))
88235375f98Sopenharmony_ci
88335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT(expected, actual, line, message)                             UnityAssertEqualNumber((UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
88435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT8(expected, actual, line, message)                            UnityAssertEqualNumber((UNITY_INT)(UNITY_INT8 )(expected), (UNITY_INT)(UNITY_INT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
88535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT16(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(UNITY_INT16)(expected), (UNITY_INT)(UNITY_INT16)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
88635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT32(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(UNITY_INT32)(expected), (UNITY_INT)(UNITY_INT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
88735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT(expected, actual, line, message)                            UnityAssertEqualNumber((UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
88835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT8(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(UNITY_UINT8 )(expected), (UNITY_INT)(UNITY_UINT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
88935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT16(expected, actual, line, message)                          UnityAssertEqualNumber((UNITY_INT)(UNITY_UINT16)(expected), (UNITY_INT)(UNITY_UINT16)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
89035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT32(expected, actual, line, message)                          UnityAssertEqualNumber((UNITY_INT)(UNITY_UINT32)(expected), (UNITY_INT)(UNITY_UINT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
89135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX8(expected, actual, line, message)                            UnityAssertEqualNumber((UNITY_INT)(UNITY_INT8 )(expected), (UNITY_INT)(UNITY_INT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
89235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX16(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(UNITY_INT16)(expected), (UNITY_INT)(UNITY_INT16)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
89335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX32(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(UNITY_INT32)(expected), (UNITY_INT)(UNITY_INT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
89435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_CHAR(expected, actual, line, message)                            UnityAssertEqualNumber((UNITY_INT)(UNITY_INT8 )(expected), (UNITY_INT)(UNITY_INT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
89535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_BITS(mask, expected, actual, line, message)                            UnityAssertBits((UNITY_INT)(mask), (UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line))
89635375f98Sopenharmony_ci
89735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_INT(threshold, actual, line, message)                        UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold),               (UNITY_INT)(actual),               UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
89835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_INT8(threshold, actual, line, message)                       UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold),  (UNITY_INT)(UNITY_INT8 )(actual),  UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
89935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_INT16(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT16)(threshold),  (UNITY_INT)(UNITY_INT16)(actual),  UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
90035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_INT32(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32)(threshold),  (UNITY_INT)(UNITY_INT32)(actual),  UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
90135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_UINT(threshold, actual, line, message)                       UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold),               (UNITY_INT)(actual),               UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
90235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_UINT8(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
90335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_UINT16(threshold, actual, line, message)                     UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
90435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_UINT32(threshold, actual, line, message)                     UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
90535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_HEX8(threshold, actual, line, message)                       UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
90635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_HEX16(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
90735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_HEX32(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
90835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_CHAR(threshold, actual, line, message)                       UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold),  (UNITY_INT)(UNITY_INT8 )(actual),  UNITY_NOT_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
90935375f98Sopenharmony_ci
91035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_INT(threshold, actual, line, message)                     UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold),              (UNITY_INT)(actual),              UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
91135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_INT8(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold), (UNITY_INT)(UNITY_INT8 )(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
91235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_INT16(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT16)(threshold), (UNITY_INT)(UNITY_INT16)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
91335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_INT32(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32)(threshold), (UNITY_INT)(UNITY_INT32)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
91435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_UINT(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold),              (UNITY_INT)(actual),              UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
91535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_UINT8(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
91635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_UINT16(threshold, actual, line, message)                  UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
91735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_UINT32(threshold, actual, line, message)                  UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
91835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_HEX8(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
91935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_HEX16(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
92035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_HEX32(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
92135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_CHAR(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold), (UNITY_INT)(UNITY_INT8 )(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
92235375f98Sopenharmony_ci
92335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_INT(threshold, actual, line, message)                     UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold),              (UNITY_INT)(actual),              UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
92435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_INT8(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold), (UNITY_INT)(UNITY_INT8 )(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
92535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_INT16(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT16)(threshold), (UNITY_INT)(UNITY_INT16)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
92635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_INT32(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32)(threshold), (UNITY_INT)(UNITY_INT32)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
92735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_UINT(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold),              (UNITY_INT)(actual),              UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
92835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_UINT8(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
92935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_UINT16(threshold, actual, line, message)                  UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
93035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_UINT32(threshold, actual, line, message)                  UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
93135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_HEX8(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
93235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_HEX16(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
93335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_HEX32(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
93435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_CHAR(threshold, actual, line, message)                    UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold), (UNITY_INT)(UNITY_INT8 )(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
93535375f98Sopenharmony_ci
93635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_INT(threshold, actual, line, message)                 UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)              (threshold), (UNITY_INT)              (actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
93735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_INT8(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 ) (threshold), (UNITY_INT)(UNITY_INT8 ) (actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
93835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_INT16(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT16) (threshold), (UNITY_INT)(UNITY_INT16) (actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
93935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_INT32(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32) (threshold), (UNITY_INT)(UNITY_INT32) (actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
94035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_UINT(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)              (threshold), (UNITY_INT)              (actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
94135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_UINT8(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
94235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_UINT16(threshold, actual, line, message)              UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
94335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_UINT32(threshold, actual, line, message)              UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
94435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_HEX8(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
94535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_HEX16(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
94635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_HEX32(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
94735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_CHAR(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 ) (threshold), (UNITY_INT)(UNITY_INT8 ) (actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
94835375f98Sopenharmony_ci
94935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_INT(threshold, actual, line, message)                 UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)             (threshold),  (UNITY_INT)              (actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
95035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_INT8(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold),  (UNITY_INT)(UNITY_INT8 ) (actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
95135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_INT16(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT16)(threshold),  (UNITY_INT)(UNITY_INT16) (actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
95235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_INT32(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT32)(threshold),  (UNITY_INT)(UNITY_INT32) (actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
95335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_UINT(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)             (threshold),  (UNITY_INT)              (actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
95435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_UINT8(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
95535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_UINT16(threshold, actual, line, message)              UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
95635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_UINT32(threshold, actual, line, message)              UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
95735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_HEX8(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT8 )(threshold), (UNITY_INT)(UNITY_UINT8 )(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
95835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_HEX16(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT16)(threshold), (UNITY_INT)(UNITY_UINT16)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
95935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_HEX32(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_UINT32)(threshold), (UNITY_INT)(UNITY_UINT32)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
96035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_CHAR(threshold, actual, line, message)                UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(UNITY_INT8 )(threshold),  (UNITY_INT)(UNITY_INT8 ) (actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
96135375f98Sopenharmony_ci
96235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT_WITHIN(delta, expected, actual, line, message)                     UnityAssertNumbersWithin(              (delta), (UNITY_INT)                          (expected), (UNITY_INT)                          (actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT)
96335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT8_WITHIN(delta, expected, actual, line, message)                    UnityAssertNumbersWithin((UNITY_UINT8 )(delta), (UNITY_INT)(UNITY_INT8 )             (expected), (UNITY_INT)(UNITY_INT8 )             (actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8)
96435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT16_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((UNITY_UINT16)(delta), (UNITY_INT)(UNITY_INT16)             (expected), (UNITY_INT)(UNITY_INT16)             (actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16)
96535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT32_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((UNITY_UINT32)(delta), (UNITY_INT)(UNITY_INT32)             (expected), (UNITY_INT)(UNITY_INT32)             (actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32)
96635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT_WITHIN(delta, expected, actual, line, message)                    UnityAssertNumbersWithin(              (delta), (UNITY_INT)                          (expected), (UNITY_INT)                          (actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT)
96735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT8_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((UNITY_UINT8 )(delta), (UNITY_INT)(UNITY_UINT)(UNITY_UINT8 )(expected), (UNITY_INT)(UNITY_UINT)(UNITY_UINT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8)
96835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT16_WITHIN(delta, expected, actual, line, message)                  UnityAssertNumbersWithin((UNITY_UINT16)(delta), (UNITY_INT)(UNITY_UINT)(UNITY_UINT16)(expected), (UNITY_INT)(UNITY_UINT)(UNITY_UINT16)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16)
96935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT32_WITHIN(delta, expected, actual, line, message)                  UnityAssertNumbersWithin((UNITY_UINT32)(delta), (UNITY_INT)(UNITY_UINT)(UNITY_UINT32)(expected), (UNITY_INT)(UNITY_UINT)(UNITY_UINT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32)
97035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX8_WITHIN(delta, expected, actual, line, message)                    UnityAssertNumbersWithin((UNITY_UINT8 )(delta), (UNITY_INT)(UNITY_UINT)(UNITY_UINT8 )(expected), (UNITY_INT)(UNITY_UINT)(UNITY_UINT8 )(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8)
97135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX16_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((UNITY_UINT16)(delta), (UNITY_INT)(UNITY_UINT)(UNITY_UINT16)(expected), (UNITY_INT)(UNITY_UINT)(UNITY_UINT16)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16)
97235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX32_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((UNITY_UINT32)(delta), (UNITY_INT)(UNITY_UINT)(UNITY_UINT32)(expected), (UNITY_INT)(UNITY_UINT)(UNITY_UINT32)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32)
97335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_CHAR_WITHIN(delta, expected, actual, line, message)                    UnityAssertNumbersWithin((UNITY_UINT8 )(delta), (UNITY_INT)(UNITY_INT8 )             (expected), (UNITY_INT)(UNITY_INT8 )             (actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR)
97435375f98Sopenharmony_ci
97535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)     UnityAssertNumbersArrayWithin(              (delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT, UNITY_ARRAY_TO_ARRAY)
97635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT8_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)    UnityAssertNumbersArrayWithin((UNITY_UINT8 )(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8, UNITY_ARRAY_TO_ARRAY)
97735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT16_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT16)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16, UNITY_ARRAY_TO_ARRAY)
97835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT32_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT32)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32, UNITY_ARRAY_TO_ARRAY)
97935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)    UnityAssertNumbersArrayWithin(              (delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT, UNITY_ARRAY_TO_ARRAY)
98035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT8_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT8 )(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8, UNITY_ARRAY_TO_ARRAY)
98135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT16_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)  UnityAssertNumbersArrayWithin((UNITY_UINT16)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16, UNITY_ARRAY_TO_ARRAY)
98235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT32_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)  UnityAssertNumbersArrayWithin((UNITY_UINT32)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32, UNITY_ARRAY_TO_ARRAY)
98335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX8_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)    UnityAssertNumbersArrayWithin((UNITY_UINT8 )(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8, UNITY_ARRAY_TO_ARRAY)
98435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX16_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT16)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16, UNITY_ARRAY_TO_ARRAY)
98535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX32_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT32)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32, UNITY_ARRAY_TO_ARRAY)
98635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_CHAR_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)    UnityAssertNumbersArrayWithin((UNITY_UINT8 )(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), ((UNITY_UINT32)(num_elements)), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR, UNITY_ARRAY_TO_ARRAY)
98735375f98Sopenharmony_ci
98835375f98Sopenharmony_ci
98935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_PTR(expected, actual, line, message)                             UnityAssertEqualNumber((UNITY_PTR_TO_INT)(expected), (UNITY_PTR_TO_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_POINTER)
99035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_STRING(expected, actual, line, message)                          UnityAssertEqualString((const char*)(expected), (const char*)(actual), (message), (UNITY_LINE_TYPE)(line))
99135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_STRING_LEN(expected, actual, len, line, message)                 UnityAssertEqualStringLen((const char*)(expected), (const char*)(actual), (UNITY_UINT32)(len), (message), (UNITY_LINE_TYPE)(line))
99235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_MEMORY(expected, actual, len, line, message)                     UnityAssertEqualMemory((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(len), 1, (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
99335375f98Sopenharmony_ci
99435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT_ARRAY(expected, actual, num_elements, line, message)         UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT,     UNITY_ARRAY_TO_ARRAY)
99535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT8_ARRAY(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8,    UNITY_ARRAY_TO_ARRAY)
99635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT16_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16,   UNITY_ARRAY_TO_ARRAY)
99735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT32_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32,   UNITY_ARRAY_TO_ARRAY)
99835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT_ARRAY(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT,    UNITY_ARRAY_TO_ARRAY)
99935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT8_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8,   UNITY_ARRAY_TO_ARRAY)
100035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT16_ARRAY(expected, actual, num_elements, line, message)      UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16,  UNITY_ARRAY_TO_ARRAY)
100135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT32_ARRAY(expected, actual, num_elements, line, message)      UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32,  UNITY_ARRAY_TO_ARRAY)
100235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX8_ARRAY(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8,    UNITY_ARRAY_TO_ARRAY)
100335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX16_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16,   UNITY_ARRAY_TO_ARRAY)
100435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX32_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32,   UNITY_ARRAY_TO_ARRAY)
100535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_PTR_ARRAY(expected, actual, num_elements, line, message)         UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_POINTER, UNITY_ARRAY_TO_ARRAY)
100635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_STRING_ARRAY(expected, actual, num_elements, line, message)      UnityAssertEqualStringArray((UNITY_INTERNAL_PTR)(expected), (const char**)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
100735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_MEMORY_ARRAY(expected, actual, len, num_elements, line, message) UnityAssertEqualMemory((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(len), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
100835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_CHAR_ARRAY(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR,    UNITY_ARRAY_TO_ARRAY)
100935375f98Sopenharmony_ci
101035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_INT(expected, actual, num_elements, line, message)          UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)              (expected), (UNITY_INT_WIDTH / 8)),          (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT,     UNITY_ARRAY_TO_VAL)
101135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_INT8(expected, actual, num_elements, line, message)         UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT8  )(expected), 1),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT8,    UNITY_ARRAY_TO_VAL)
101235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_INT16(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT16 )(expected), 2),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT16,   UNITY_ARRAY_TO_VAL)
101335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_INT32(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT32 )(expected), 4),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT32,   UNITY_ARRAY_TO_VAL)
101435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_UINT(expected, actual, num_elements, line, message)         UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)              (expected), (UNITY_INT_WIDTH / 8)),          (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT,    UNITY_ARRAY_TO_VAL)
101535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_UINT8(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_UINT8 )(expected), 1),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT8,   UNITY_ARRAY_TO_VAL)
101635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_UINT16(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_UINT16)(expected), 2),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT16,  UNITY_ARRAY_TO_VAL)
101735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_UINT32(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_UINT32)(expected), 4),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT32,  UNITY_ARRAY_TO_VAL)
101835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_HEX8(expected, actual, num_elements, line, message)         UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT8  )(expected), 1),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX8,    UNITY_ARRAY_TO_VAL)
101935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_HEX16(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT16 )(expected), 2),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX16,   UNITY_ARRAY_TO_VAL)
102035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_HEX32(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT32 )(expected), 4),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX32,   UNITY_ARRAY_TO_VAL)
102135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_PTR(expected, actual, num_elements, line, message)          UnityAssertEqualIntArray(UnityNumToPtr((UNITY_PTR_TO_INT)       (expected), (UNITY_POINTER_WIDTH / 8)),      (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_POINTER, UNITY_ARRAY_TO_VAL)
102235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_STRING(expected, actual, num_elements, line, message)       UnityAssertEqualStringArray((UNITY_INTERNAL_PTR)(expected), (const char**)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_VAL)
102335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_MEMORY(expected, actual, len, num_elements, line, message)  UnityAssertEqualMemory((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(len), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_VAL)
102435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_CHAR(expected, actual, num_elements, line, message)         UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT8  )(expected), 1),                              (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_CHAR,    UNITY_ARRAY_TO_VAL)
102535375f98Sopenharmony_ci
102635375f98Sopenharmony_ci#ifdef UNITY_SUPPORT_64
102735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT64(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
102835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT64(expected, actual, line, message)                          UnityAssertEqualNumber((UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
102935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX64(expected, actual, line, message)                           UnityAssertEqualNumber((UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
103035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT64_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64,  UNITY_ARRAY_TO_ARRAY)
103135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT64_ARRAY(expected, actual, num_elements, line, message)      UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64, UNITY_ARRAY_TO_ARRAY)
103235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX64_ARRAY(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray((UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64,  UNITY_ARRAY_TO_ARRAY)
103335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_INT64(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT64)(expected), 8), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64,  UNITY_ARRAY_TO_VAL)
103435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_UINT64(expected, actual, num_elements, line, message)       UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_UINT64)(expected), 8), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64, UNITY_ARRAY_TO_VAL)
103535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_HEX64(expected, actual, num_elements, line, message)        UnityAssertEqualIntArray(UnityNumToPtr((UNITY_INT)(UNITY_INT64)(expected), 8), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64,  UNITY_ARRAY_TO_VAL)
103635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT64_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((delta), (UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
103735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT64_WITHIN(delta, expected, actual, line, message)                  UnityAssertNumbersWithin((delta), (UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
103835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX64_WITHIN(delta, expected, actual, line, message)                   UnityAssertNumbersWithin((delta), (UNITY_INT)(expected), (UNITY_INT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
103935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_INT64(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_NOT_EQUAL,        (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
104035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_UINT64(threshold, actual, line, message)                     UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_NOT_EQUAL,        (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
104135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_HEX64(threshold, actual, line, message)                      UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_NOT_EQUAL,        (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
104235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_INT64(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_GREATER_THAN,     (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
104335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_UINT64(threshold, actual, line, message)                  UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_GREATER_THAN,     (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
104435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_HEX64(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_GREATER_THAN,     (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
104535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_INT64(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
104635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_UINT64(threshold, actual, line, message)              UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
104735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_HEX64(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
104835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_INT64(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_SMALLER_THAN,     (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
104935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_UINT64(threshold, actual, line, message)                  UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_SMALLER_THAN,     (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
105035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_HEX64(threshold, actual, line, message)                   UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_SMALLER_THAN,     (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
105135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_INT64(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64)
105235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_UINT64(threshold, actual, line, message)              UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64)
105335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_HEX64(threshold, actual, line, message)               UnityAssertGreaterOrLessOrEqualNumber((UNITY_INT)(threshold), (UNITY_INT)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64)
105435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT64_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT64)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_INT64, UNITY_ARRAY_TO_ARRAY)
105535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT64_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)  UnityAssertNumbersArrayWithin((UNITY_UINT64)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_UINT64, UNITY_ARRAY_TO_ARRAY)
105635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX64_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UnityAssertNumbersArrayWithin((UNITY_UINT64)(delta), (UNITY_INTERNAL_PTR)(expected), (UNITY_INTERNAL_PTR)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_DISPLAY_STYLE_HEX64, UNITY_ARRAY_TO_ARRAY)
105735375f98Sopenharmony_ci#else
105835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT64(expected, actual, line, message)                           UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
105935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT64(expected, actual, line, message)                          UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX64(expected, actual, line, message)                           UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_INT64_ARRAY(expected, actual, num_elements, line, message)       UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_UINT64_ARRAY(expected, actual, num_elements, line, message)      UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_HEX64_ARRAY(expected, actual, num_elements, line, message)       UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT64_WITHIN(delta, expected, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT64_WITHIN(delta, expected, actual, line, message)                  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX64_WITHIN(delta, expected, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_INT64(threshold, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_UINT64(threshold, actual, line, message)                  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
106935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_HEX64(threshold, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_INT64(threshold, actual, line, message)               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_UINT64(threshold, actual, line, message)              UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_HEX64(threshold, actual, line, message)               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_INT64(threshold, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_UINT64(threshold, actual, line, message)                  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_THAN_HEX64(threshold, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_INT64(threshold, actual, line, message)               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_UINT64(threshold, actual, line, message)              UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_SMALLER_OR_EQUAL_HEX64(threshold, actual, line, message)               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
107935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_INT64_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
108035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_UINT64_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
108135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_HEX64_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErr64)
108235375f98Sopenharmony_ci#endif
108335375f98Sopenharmony_ci
108435375f98Sopenharmony_ci#ifdef UNITY_EXCLUDE_FLOAT
108535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_WITHIN(delta, expected, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
108635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_NOT_WITHIN(delta, expected, actual, line, message)               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
108735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_FLOAT(expected, actual, line, message)                           UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
108835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_FLOAT(expected, actual, line, message)                       UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
108935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_FLOAT_ARRAY(expected, actual, num_elements, line, message)       UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_FLOAT(expected, actual, num_elements, line, message)        UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_FLOAT(threshold, actual, line, message)                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_FLOAT(threshold, actual, line, message)               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_THAN_FLOAT(threshold, actual, line, message)                      UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_OR_EQUAL_FLOAT(threshold, actual, line, message)                  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_INF(actual, line, message)                                    UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NEG_INF(actual, line, message)                                UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NAN(actual, line, message)                                    UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
109935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_DETERMINATE(actual, line, message)                            UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
110035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_INF(actual, line, message)                                UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
110135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_NEG_INF(actual, line, message)                            UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
110235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_NAN(actual, line, message)                                UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
110335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_DETERMINATE(actual, line, message)                        UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrFloat)
110435375f98Sopenharmony_ci#else
110535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_WITHIN(delta, expected, actual, line, message)                   UnityAssertFloatsWithin((UNITY_FLOAT)(delta), (UNITY_FLOAT)(expected), (UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line))
110635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_NOT_WITHIN(delta, expected, actual, line, message)               UnityAssertFloatsNotWithin((UNITY_FLOAT)(delta), (UNITY_FLOAT)(expected), (UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line))
110735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_FLOAT(expected, actual, line, message)                           UNITY_TEST_ASSERT_FLOAT_WITHIN((UNITY_FLOAT)(expected) * (UNITY_FLOAT)UNITY_FLOAT_PRECISION, (UNITY_FLOAT)(expected), (UNITY_FLOAT)(actual), (UNITY_LINE_TYPE)(line), (message))
110835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_FLOAT(expected, actual, line, message)                       UNITY_TEST_ASSERT_FLOAT_NOT_WITHIN((UNITY_FLOAT)(expected) * (UNITY_FLOAT)UNITY_FLOAT_PRECISION, (UNITY_FLOAT)(expected), (UNITY_FLOAT)(actual), (UNITY_LINE_TYPE)(line), (message))
110935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message)  UnityAssertWithinFloatArray((UNITY_FLOAT)(delta), (const UNITY_FLOAT*)(expected), (const UNITY_FLOAT*)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
111035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_FLOAT_ARRAY(expected, actual, num_elements, line, message)       UnityAssertWithinFloatArray((UNITY_FLOAT)0, (const UNITY_FLOAT*)(expected), (const UNITY_FLOAT*)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
111135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_FLOAT(expected, actual, num_elements, line, message)        UnityAssertWithinFloatArray((UNITY_FLOAT)0, UnityFloatToPtr(expected), (const UNITY_FLOAT*)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_VAL)
111235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_FLOAT(threshold, actual, line, message)                   UnityAssertGreaterOrLessFloat((UNITY_FLOAT)(threshold), (UNITY_FLOAT)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line))
111335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_FLOAT(threshold, actual, line, message)               UnityAssertGreaterOrLessFloat((UNITY_FLOAT)(threshold), (UNITY_FLOAT)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line))
111435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_THAN_FLOAT(threshold, actual, line, message)                      UnityAssertGreaterOrLessFloat((UNITY_FLOAT)(threshold), (UNITY_FLOAT)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line))
111535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_OR_EQUAL_FLOAT(threshold, actual, line, message)                  UnityAssertGreaterOrLessFloat((UNITY_FLOAT)(threshold), (UNITY_FLOAT)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line))
111635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_INF(actual, line, message)                                    UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_INF)
111735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NEG_INF(actual, line, message)                                UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NEG_INF)
111835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NAN(actual, line, message)                                    UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NAN)
111935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_DETERMINATE(actual, line, message)                            UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_DET)
112035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_INF(actual, line, message)                                UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_INF)
112135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_NEG_INF(actual, line, message)                            UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_NEG_INF)
112235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_NAN(actual, line, message)                                UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_NAN)
112335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_FLOAT_IS_NOT_DETERMINATE(actual, line, message)                        UnityAssertFloatSpecial((UNITY_FLOAT)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_DET)
112435375f98Sopenharmony_ci#endif
112535375f98Sopenharmony_ci
112635375f98Sopenharmony_ci#ifdef UNITY_EXCLUDE_DOUBLE
112735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_WITHIN(delta, expected, actual, line, message)                  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
112835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_NOT_WITHIN(delta, expected, actual, line, message)              UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
112935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_DOUBLE(expected, actual, line, message)                          UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_DOUBLE(expected, actual, line, message)                      UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message) UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_DOUBLE_ARRAY(expected, actual, num_elements, line, message)      UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_DOUBLE(expected, actual, num_elements, line, message)       UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_DOUBLE(threshold, actual, line, message)                  UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_DOUBLE(threshold, actual, line, message)              UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_THAN_DOUBLE(threshold, actual, line, message)                     UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_OR_EQUAL_DOUBLE(threshold, actual, line, message)                 UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_INF(actual, line, message)                                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
113935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NEG_INF(actual, line, message)                               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NAN(actual, line, message)                                   UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_DETERMINATE(actual, line, message)                           UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_INF(actual, line, message)                               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_NEG_INF(actual, line, message)                           UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_NAN(actual, line, message)                               UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_DETERMINATE(actual, line, message)                       UNITY_TEST_FAIL((UNITY_LINE_TYPE)(line), UnityStrErrDouble)
114635375f98Sopenharmony_ci#else
114735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_WITHIN(delta, expected, actual, line, message)                  UnityAssertDoublesWithin((UNITY_DOUBLE)(delta), (UNITY_DOUBLE)(expected), (UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line))
114835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_NOT_WITHIN(delta, expected, actual, line, message)              UnityAssertDoublesNotWithin((UNITY_DOUBLE)(delta), (UNITY_DOUBLE)(expected), (UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line))
114935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_DOUBLE(expected, actual, line, message)                          UNITY_TEST_ASSERT_DOUBLE_WITHIN((UNITY_DOUBLE)(expected) * (UNITY_DOUBLE)UNITY_DOUBLE_PRECISION, (UNITY_DOUBLE)(expected), (UNITY_DOUBLE)(actual), (UNITY_LINE_TYPE)(line), (message))
115035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_NOT_EQUAL_DOUBLE(expected, actual, line, message)                      UNITY_TEST_ASSERT_DOUBLE_NOT_WITHIN((UNITY_DOUBLE)(expected) * (UNITY_DOUBLE)UNITY_DOUBLE_PRECISION, (UNITY_DOUBLE)(expected), (UNITY_DOUBLE)(actual), (UNITY_LINE_TYPE)(line), (message))
115135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_ARRAY_WITHIN(delta, expected, actual, num_elements, line, message) UnityAssertWithinDoubleArray((UNITY_DOUBLE)(delta), (const UNITY_DOUBLE*)(expected), (const UNITY_DOUBLE*)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
115235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EQUAL_DOUBLE_ARRAY(expected, actual, num_elements, line, message)      UnityAssertWithinDoubleArray((UNITY_DOUBLE)0, (const UNITY_DOUBLE*)(expected), (const UNITY_DOUBLE*)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_ARRAY)
115335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_EACH_EQUAL_DOUBLE(expected, actual, num_elements, line, message)       UnityAssertWithinDoubleArray((UNITY_DOUBLE)0, UnityDoubleToPtr(expected), (const UNITY_DOUBLE*)(actual), (UNITY_UINT32)(num_elements), (message), (UNITY_LINE_TYPE)(line), UNITY_ARRAY_TO_VAL)
115435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_THAN_DOUBLE(threshold, actual, line, message)                  UnityAssertGreaterOrLessDouble((UNITY_DOUBLE)(threshold), (UNITY_DOUBLE)(actual), UNITY_GREATER_THAN, (message), (UNITY_LINE_TYPE)(line))
115535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_GREATER_OR_EQUAL_DOUBLE(threshold, actual, line, message)              UnityAssertGreaterOrLessDouble((UNITY_DOUBLE)(threshold), (UNITY_DOUBLE)(actual), UNITY_GREATER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line))
115635375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_THAN_DOUBLE(threshold, actual, line, message)                     UnityAssertGreaterOrLessDouble((UNITY_DOUBLE)(threshold), (UNITY_DOUBLE)(actual), UNITY_SMALLER_THAN, (message), (UNITY_LINE_TYPE)(line))
115735375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_LESS_OR_EQUAL_DOUBLE(threshold, actual, line, message)                 UnityAssertGreaterOrLessDouble((UNITY_DOUBLE)(threshold), (UNITY_DOUBLE)(actual), UNITY_SMALLER_OR_EQUAL, (message), (UNITY_LINE_TYPE)(line))
115835375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_INF(actual, line, message)                                   UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_INF)
115935375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NEG_INF(actual, line, message)                               UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NEG_INF)
116035375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NAN(actual, line, message)                                   UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NAN)
116135375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_DETERMINATE(actual, line, message)                           UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_DET)
116235375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_INF(actual, line, message)                               UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_INF)
116335375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_NEG_INF(actual, line, message)                           UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_NEG_INF)
116435375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_NAN(actual, line, message)                               UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_NAN)
116535375f98Sopenharmony_ci#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_DETERMINATE(actual, line, message)                       UnityAssertDoubleSpecial((UNITY_DOUBLE)(actual), (message), (UNITY_LINE_TYPE)(line), UNITY_FLOAT_IS_NOT_DET)
116635375f98Sopenharmony_ci#endif
116735375f98Sopenharmony_ci
116835375f98Sopenharmony_ci/* End of UNITY_INTERNALS_H */
116935375f98Sopenharmony_ci#endif
1170