mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-17 07:19:42 +00:00
test/ringbuffer: update test
This commit is contained in:
parent
2c36c79169
commit
d43fe610a0
@ -1,9 +1,14 @@
|
||||
#include "CppUTest/TestHarness.h"
|
||||
#include "CppUTest/CommandLineTestRunner.h"
|
||||
#include "btstack_ring_buffer.h"
|
||||
#include "btstack_util.h"
|
||||
|
||||
static uint8_t storage[10];
|
||||
|
||||
uint32_t btstack_min(uint32_t a, uint32_t b){
|
||||
return a < b ? a : b;
|
||||
}
|
||||
|
||||
TEST_GROUP(RingBuffer){
|
||||
btstack_ring_buffer_t ring_buffer;
|
||||
int storage_size;
|
||||
|
Loading…
Reference in New Issue
Block a user