Simple interface for Mbed Cloud Client
Embed:
(wiki syntax)
Show/hide line numbers
UnityHelper.c
00001 #include "unity.h" 00002 #include "UnityHelper.h" 00003 #include <stdio.h> 00004 #include <string.h> 00005 00006 void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line) 00007 { 00008 UNITY_TEST_ASSERT_EQUAL_INT(expected.x, actual.x, line, "Example Struct Failed For Field x"); 00009 UNITY_TEST_ASSERT_EQUAL_INT(expected.y, actual.y, line, "Example Struct Failed For Field y"); 00010 }
Generated on Tue Jul 12 2022 19:01:37 by 1.7.2