Sha256: 7cf64a9234d99f53500aaa12cb18be13e07b17ed086715dc82f25351dab46087

Contents?: true

Size: 906 Bytes

Versions: 21

Compression:

Stored size: 906 Bytes

Contents

#include "unity.h"
#include "stuff.h"


void setUp(void) {}
void tearDown(void) {}


// test ignores & variations on test declarations

void test_a_single_thing(void)
{
  TEST_IGNORE_MESSAGE("pay no attention to the test behind the curtain");
}

 void  test_another_thing ( void )
{
  TEST_IGNORE_MESSAGE("pay no attention to the test behind the curtain");
}

void test_some_non_void_param_stuff()
{
  TEST_IGNORE_MESSAGE("pay no attention to the test behind the curtain");
}

void
test_some_multiline_test_case_action
(void)
{
  TEST_IGNORE_MESSAGE("pay no attention to the test behind the curtain");
}

// test successes

void test_subtract_should_succeed_1(void)
{
	TEST_ASSERT_EQUAL(10, subtract(31, 21));
}

void test_subtract_should_succeed_2(void)
{
	TEST_ASSERT_EQUAL(0, subtract(12, 12));
}

// test failures

void test_subtract_should_fail(void)
{
	TEST_ASSERT_EQUAL(100, subtract(210, 109));
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ceedling-0.25.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.24.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.22.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.21.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.20.3 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.20.2 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.19.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.18.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.17.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.16.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.6 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.5 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.4 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.3 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.2 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.1 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.15.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.13.0 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.13.0.rc1 test_graveyard/system/simple/test/test_stuff.c
ceedling-0.0.2 new_project_template/vendor/ceedling/test/system/simple/test/test_stuff.c