Sha256: 728d81171dc07aeb57eaf722a979c57f070d329df20315f4ae03eb5cce74bcbc

Contents?: true

Size: 398 Bytes

Versions: 21

Compression:

Stored size: 398 Bytes

Contents

#include "unity.h"
#include "other_stuff.h"


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

// test successes

void test_add_should_succeed_1(void)
{
	TEST_ASSERT_EQUAL(100, add(30, 70));
}

void test_add_should_succeed_2(void)
{
	TEST_ASSERT_EQUAL(0, add(-5, 5));
}

// test failures

void test_fail()
{
  TEST_FAIL("Boom.");
}

void test_add_should_fail(void)
{
	TEST_ASSERT_EQUAL(0, add(2, 2));
}

Version data entries

21 entries across 21 versions & 1 rubygems

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