xref: /third_party/unity/examples/example_3/helper/UnityHelper.h (revision 35375f98)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/unity/examples/example_3/helper/
1#ifndef _TESTHELPER_H
2#define _TESTHELPER_H
3
4#include "Types.h"
5
6void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line);
7
8#define UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, line, message) AssertEqualExampleStruct(expected, actual, line);
9
10#define TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual) UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, __LINE__, NULL);
11
12#endif // _TESTHELPER_H
13

Indexes created Thu Nov 07 10:32:03 CST 2024