Sha256: 8ab6b54ab3365ebdedec086aa2a12d89a5a034dd685afcfbac0096fc1a26f5f0

Contents?: true

Size: 726 Bytes

Versions: 4

Compression:

Stored size: 726 Bytes

Contents

/* =========================================================================
    Unity - A Test Framework for C
    ThrowTheSwitch.org
    Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
    SPDX-License-Identifier: MIT
========================================================================= */

#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

4 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-1.0.1 vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-1.0.0 vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c
ceedling-1.0.0 vendor/unity/examples/example_3/helper/UnityHelper.c