/* Verify k_queue_unique_append() 
Append the same data to the queue repeatedly, see if it returns expected value. And verify operation succeed if append different data to the queue. */
ZTEST(queue_api, test_queue_unique_append)
/* Verify k_queue_unique_append() 
Append the same data to the queue repeatedly, see if it returns expected value. And verify operation succeed if append different data to the queue. */
ZTEST(queue_api, test_queue_unique_append)
{
	bool ret;
	k_queue_init(&queue);
	ret = k_queue_unique_append(&queue, (void *)&data[0]);
	zassert_true(ret, "queue unique append failed");
	ret = k_queue_unique_append(&queue, (void *)&data[0]);
	zassert_false(ret, "queue unique append should fail");
	ret = k_queue_unique_append(&queue, (void *)&data[1]);
	zassert_true(ret, "queue unique append failed");
}