Sha256: 091c2466d25deffd8958332ad03d393ca1ec1b1f6150c16626d57d5901eb1b21

Contents?: true

Size: 405 Bytes

Versions: 56

Compression:

Stored size: 405 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

56 entries across 23 versions & 2 rubygems

Version Path
ceedling-0.31.1 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.31.1 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.31.0 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.31.0 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
simdjson-0.3.0 vendor/simdjson/dependencies/cJSON/tests/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.30.0 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.30.0 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.30.0 vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.30.0 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.3 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.3 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.2 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.1 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.1 vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.1 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.28.1 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.27.0 vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.27.0 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.27.0 vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-0.27.0 vendor/unity/examples/example_3/helper/UnityHelper.c