File test_computation_rational_data.c
FileList > comp-rational_data > test > test_computation_rational_data.c
Go to the source code of this file
#include "comp_rational_data.h"#include "string.h"#include "unity.h"
Public Attributes
| Type | Name |
|---|---|
| char | index_buff |
| size_t | index_idx = 0 |
| char | key_buff |
| size_t | key_idx = 0 |
| char | output_eo = /* multi line expression */ |
| size_t | output_len = 5 |
| char | output_oe = /* multi line expression */ |
| char | output_oo = /* multi line expression */ |
| comp_rational_data_config_t | tc_null_buff = /* multi line expression */ |
| comp_rational_data_config_t | tc_null_str_buff = /* multi line expression */ |
| comp_rational_data_config_t | tc_write_fail = /* multi line expression */ |
| comp_rational_data_config_t | tc_write_success = /* multi line expression */ |
| note_tv_t | tv |
| note_tv_t | tv_eo = { { 1, 2, 3 }, 3 } |
| note_tv_t | tv_oe = { { 2, 3, 1 }, 3 } |
| note_tv_t | tv_oo = { { 1, 3, 2 }, 3 } |
| char | tv_str |
| char | value_buff |
| size_t | value_idx = 0 |
Public Functions
| Type | Name |
|---|---|
| int | main (void) |
| void | setUp (void) |
| STATIC_INLINE const char * | stub_read (const char * key, const char * index) |
| STATIC_INLINE_UINT8 | stub_write_fail (const char * key, const char * index, const char * value) |
| STATIC_INLINE_UINT8 | stub_write_success (const char * key, const char * index, const char * value) |
| void | tearDown (void) |
| STATIC_INLINE void | test_compute (void) |
| STATIC_INLINE void | test_config (void) |
| STATIC_INLINE void | test_result (void) |
Public Attributes Documentation
variable index_buff
char index_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u][UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u];
variable index_idx
size_t index_idx;
variable key_buff
char key_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u][UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u];
variable key_idx
size_t key_idx;
variable output_eo
char output_eo[UTIL_TANG_DEFS_MAX_CROSSINGNUM *5][UTIL_TANG_DEFS_MAX_CROSSINGNUM *2u];
variable output_len
size_t output_len;
variable output_oe
char output_oe[UTIL_TANG_DEFS_MAX_CROSSINGNUM *5][UTIL_TANG_DEFS_MAX_CROSSINGNUM *2u];
variable output_oo
char output_oo[UTIL_TANG_DEFS_MAX_CROSSINGNUM *5][UTIL_TANG_DEFS_MAX_CROSSINGNUM *2u];
variable tc_null_buff
comp_rational_data_config_t tc_null_buff;
variable tc_null_str_buff
comp_rational_data_config_t tc_null_str_buff;
variable tc_write_fail
comp_rational_data_config_t tc_write_fail;
variable tc_write_success
comp_rational_data_config_t tc_write_success;
variable tv
note_tv_t tv;
variable tv_eo
note_tv_t tv_eo;
variable tv_oe
note_tv_t tv_oe;
variable tv_oo
note_tv_t tv_oo;
variable tv_str
char tv_str[UTIL_TANG_DEFS_MAX_CROSSINGNUM *2u];
variable value_buff
char value_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u][UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u];
variable value_idx
size_t value_idx;
Public Functions Documentation
function main
int main (
void
)
function setUp
void setUp (
void
)
function stub_read
STATIC_INLINE const char * stub_read (
const char * key,
const char * index
)
function stub_write_fail
STATIC_INLINE_UINT8 stub_write_fail (
const char * key,
const char * index,
const char * value
)
function stub_write_success
STATIC_INLINE_UINT8 stub_write_success (
const char * key,
const char * index,
const char * value
)
function tearDown
void tearDown (
void
)
function test_compute
STATIC_INLINE void test_compute (
void
)
function test_config
STATIC_INLINE void test_config (
void
)
function test_result
STATIC_INLINE void test_result (
void
)
The documentation for this class was generated from the following file source/comp-rational_data/test/test_computation_rational_data.c