Add new test case.

This commit is contained in:
Patrick Pelissier committed 2017-03-27 16:54:26 +02:00
1 parent e335c6c5fb
commit a12e2d5f0b
1 file changed
+6
+6
View File
@@ -144,6 +144,12 @@ static void test_no_thread(void)
b = buffer_llong_pop(&c, buff);
assert (b == false);
assert (buffer_llong_empty_p(buff) == true);
b = buffer_llong_push(buff, c);
assert (b == true);
buffer_llong_clean(buff);
assert (buffer_llong_empty_p(buff) == true);
buffer_llong_clear(buff);
}