135375f98Sopenharmony_ci#include "unity.h"
235375f98Sopenharmony_ci
335375f98Sopenharmony_ci/* Support for Meta Test Rig */
435375f98Sopenharmony_ci#ifndef TEST_CASE
535375f98Sopenharmony_ci#define TEST_CASE(...)
635375f98Sopenharmony_ci#endif
735375f98Sopenharmony_ci#ifndef TEST_RANGE
835375f98Sopenharmony_ci#define TEST_RANGE(...)
935375f98Sopenharmony_ci#endif
1035375f98Sopenharmony_ci#ifndef TEST_MATRIX
1135375f98Sopenharmony_ci#define TEST_MATRIX(...)
1235375f98Sopenharmony_ci#endif
1335375f98Sopenharmony_ci
1435375f98Sopenharmony_ciTEST_CASE(1, 2, 5)
1535375f98Sopenharmony_ciTEST_CASE(10, 7, 20)
1635375f98Sopenharmony_ciTEST_RANGE([3, 4, 1], [10, 5, -2], <30, 31, 1>)
1735375f98Sopenharmony_ciTEST_MATRIX([3, 4, 7], [10, 8, 2, 1],[30u, 20.0f])
1835375f98Sopenharmony_civoid test_demoParamFunction(int a, int b, int c)
1935375f98Sopenharmony_ci{
2035375f98Sopenharmony_ci  TEST_ASSERT_GREATER_THAN_INT(a + b, c);
2135375f98Sopenharmony_ci}
22