/* verify that ringbuffer can be placed in any user-controlled memory 
Assumptions and Constraints: */
ZTEST(ringbuffer_api, test_ringbuffer_put_get_thread)
/* verify that ringbuffer can be placed in any user-controlled memory 
Assumptions and Constraints: */
ZTEST(ringbuffer_api, test_ringbuffer_put_get_thread)
{
	pbuf = &ringbuf;
	for (int i = 0; i < 1000; i++) {
		tringbuf_put((const void *)0);
		tringbuf_put((const void *)1);
		tringbuf_get((const void *)0);
		tringbuf_get((const void *)1);
		tringbuf_put((const void *)2);
		zassert_false(ring_buf_is_empty(pbuf));
		tringbuf_get((const void *)2);
		zassert_true(ring_buf_is_empty(pbuf));
	}
}