Sha256: c3f4a7300029c4d394fb9e1f7ea365ceae714d086c0fdc4250b42868ac211e33
Contents?: true
Size: 833 Bytes
Versions: 2
Compression:
Stored size: 833 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_hardwareA.h" #ifdef PREPROCESSING_TESTS #include "mock_adc_hardware_configuratorA.h" #endif void setUp(void) { } void tearDown(void) { } #ifdef PREPROCESSING_TESTS void test_init_should_call_adc_reset(void) { Adc_Reset_Expect(); AdcHardware_Init(); } #endif #ifndef PREPROCESSING_TESTS void test_caseA_should_fail(void) { TEST_FAIL_MESSAGE("Intentional failure"); } void test_caseB_should_fail(void) { TEST_FAIL_MESSAGE("Intentional failure"); } #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | assets/tests_with_preprocessing/test/test_adc_hardwareA.c |
ceedling-1.0.0 | assets/tests_with_preprocessing/test/test_adc_hardwareA.c |