mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
25 lines
No EOL
662 B
C
25 lines
No EOL
662 B
C
/** Unit tests for MPMC queue
|
|
*
|
|
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
|
* @copyright 2014-2016, Institute for Automation of Complex Power Systems, EONERC
|
|
* This file is part of VILLASnode. All Rights Reserved. Proprietary and confidential.
|
|
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
*********************************************************************************/
|
|
|
|
#include <criterion/criterion.h>
|
|
|
|
#include "queue.h"
|
|
|
|
Test(queue, singleThreaded)
|
|
{
|
|
/* struct queue q;
|
|
|
|
queue_init(&q, 100, &memtype_heap);
|
|
|
|
srand(1337);
|
|
|
|
for (int i = 0; i < 100; i++)
|
|
queue_push(&q, &)
|
|
|
|
queue_destroy(&q);*/
|
|
} |