Sha256: 4bcb6a584c9197901fed8e7e2887b472fa85251383078525d4fa90acea62ed8a

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

/* =========================================================================
    Ceedling - Test-Centered Build System for C
    ThrowTheSwitch.org
    Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
    SPDX-License-Identifier: MIT
========================================================================= */

#include "unity.h"
#include "adc_hardware.h"
#include "mock_adc_hardware_configurator.h"

void setUp(void)
{
}

void tearDown(void)
{
}

void test_init_should_call_special_adc_reset(void)
{
  Adc_ResetSpec_Expect();

  // to check if also test file is compiled with this define
  #ifdef SPECIFIC_CONFIG
  AdcHardware_Init();
  #endif
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 assets/tests_with_defines/test/test_adc_hardware_special.c
ceedling-1.0.0 assets/tests_with_defines/test/test_adc_hardware_special.c