Sha256: 7142cb30628ee698e8601816cc1b34b99fdf31a860ca1629861a7169037e9135

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

#include "unity.h"

#define TEST_CASE(...)
#define TEST_RANGE(...)

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

TEST_CASE(25)
TEST_CASE(125)
TEST_CASE(5)
void test_should_handle_divisible_by_5_for_parameterized_test_case(int num) {
 TEST_ASSERT_EQUAL_MESSAGE(0, (num % 5), "All The Values Are Divisible By 5");
}

TEST_RANGE([10, 100, 10], [5, 10, 5])
void test_should_handle_a_divisible_by_b_for_parameterized_test_range(int a, int b) {
  TEST_ASSERT_EQUAL_MESSAGE(0, (a % b), "All The a Values Are Divisible By b");
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.31.1 assets/test_example_with_parameterized_tests.c
ceedling-0.31.0 assets/test_example_with_parameterized_tests.c