Sha256: b3510daae4677dc1b7b746728aad7e2c291f99e296cb1c78a2240a495077116f

Contents?: true

Size: 415 Bytes

Versions: 44

Compression:

Stored size: 415 Bytes

Contents

#include "unity.h"
#include "UnityHelper.h"
#include <stdio.h>
#include <string.h>

void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line)
{
    UNITY_TEST_ASSERT_EQUAL_INT(expected.x, actual.x, line, "Example Struct Failed For Field x");
    UNITY_TEST_ASSERT_EQUAL_INT(expected.y, actual.y, line, "Example Struct Failed For Field y");
}

Version data entries

44 entries across 29 versions & 1 rubygems

Version Path
ceedling-0.29.1 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.29.1 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.29.1 vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.29.0 vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.29.0 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.29.0 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.15.1 vendor/cmock/vendor/unity/examples/helper/UnityHelper.c
ceedling-0.15.1 vendor/unity/examples/helper/UnityHelper.c
ceedling-0.15.1 vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c
ceedling-0.15.0 vendor/cmock/vendor/unity/examples/helper/UnityHelper.c
ceedling-0.15.0 vendor/unity/examples/helper/UnityHelper.c
ceedling-0.15.0 vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c
ceedling-0.13.0 vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c
ceedling-0.13.0 vendor/unity/examples/helper/UnityHelper.c
ceedling-0.12.2 examples/temp_sensor/test/support/UnityHelper.c
ceedling-0.12.1 examples/temp_sensor/test/support/UnityHelper.c
ceedling-0.12.0 examples/temp_sensor/test/support/UnityHelper.c
ceedling-0.11.2 examples/temp_sensor/test/support/UnityHelper.c
ceedling-0.11.1 examples/temp_sensor/test/support/UnityHelper.c
ceedling-0.11.0 examples/temp_sensor/test/support/UnityHelper.c