Fixes
This commit is contained in:
@ -21,7 +21,9 @@ using namespace IACore;
|
||||
|
||||
IAT_BEGIN_BLOCK(Core, RingBuffer)
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// 1. Basic Push Pop
|
||||
// -------------------------------------------------------------------------
|
||||
BOOL TestPushPop()
|
||||
{
|
||||
// Allocate raw memory for the ring buffer
|
||||
@ -54,7 +56,9 @@ BOOL TestPushPop()
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
// 2. Wrap Around (The hardest logic to get right)
|
||||
// -------------------------------------------------------------------------
|
||||
// 2. Wrap Around
|
||||
// -------------------------------------------------------------------------
|
||||
BOOL TestWrapAround()
|
||||
{
|
||||
// Small buffer to force wrapping quickly
|
||||
|
||||
Reference in New Issue
Block a user