#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "pv_circular_buffer.h"
Go to the source code of this file.
◆ check_condition()
static void check_condition |
( |
bool |
condition, |
|
|
const char * |
function, |
|
|
int32_t |
line, |
|
|
const char * |
message, |
|
|
|
... |
|
) |
| |
|
static |
◆ main()
◆ test_error_message()
static const char* test_error_message |
( |
const char * |
message, |
|
|
va_list |
args |
|
) |
| |
|
static |
◆ test_pv_circular_buffer_once()
static void test_pv_circular_buffer_once |
( |
void |
| ) |
|
|
static |
◆ test_pv_circular_buffer_read_incomplete()
static void test_pv_circular_buffer_read_incomplete |
( |
void |
| ) |
|
|
static |
◆ test_pv_circular_buffer_read_write()
static void test_pv_circular_buffer_read_write |
( |
void |
| ) |
|
|
static |
◆ test_pv_circular_buffer_read_write_one_by_one()
static void test_pv_circular_buffer_read_write_one_by_one |
( |
void |
| ) |
|
|
static |
◆ test_pv_circular_buffer_write_overflow()
static void test_pv_circular_buffer_write_overflow |
( |
void |
| ) |
|
|
static |
◆ error_message
char error_message[256] = {0} |
|
static |