test/ringbuffer: update test

This commit is contained in:
Matthias Ringwald 2017-01-26 17:44:52 +01:00
parent 2c36c79169
commit d43fe610a0

View File

@ -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;