+END_TEST
+
+START_TEST(test_queue_pop)
+{
+ push();
+ int data = 0;
+
+ QueuePop(&intQ, &data);
+ ck_assert_int_eq(data, 1);
+ ck_assert_ptr_nonnull(intQ.head);
+ ck_assert_ptr_nonnull(intQ.tail);
+
+ QueuePop(&intQ, &data);
+ ck_assert_int_eq(data, 2);
+ ck_assert_ptr_nonnull(intQ.head);
+ ck_assert_ptr_nonnull(intQ.tail);
+
+ QueuePop(&intQ, &data);
+ ck_assert_int_eq(data, 3);
+ ck_assert_ptr_null(intQ.head);
+ ck_assert_ptr_null(intQ.tail);
+ ck_assert_int_eq(intQ.memSize, sizeof(int));
+}
+END_TEST
+
+START_TEST(test_queue_init)
+{
+ ck_assert_ptr_null(intQ.tail);
+ ck_assert_ptr_null(intQ.head);
+ ck_assert_int_eq(sizeof(int), intQ.memSize);
+}
+END_TEST
+
+START_TEST(test_queue_clear)
+{
+ push();
+ QueueClear(&intQ);
+ ck_assert_ptr_null(intQ.head);
+ ck_assert_ptr_null(intQ.tail);
+ ck_assert_int_eq(0, intQ.memSize);
+}
+END_TEST
+
+START_TEST(test_queue_peek)
+{
+ int i = 0;
+ push();
+ QueuePeek(&intQ, &i);
+ ck_assert_int_eq(i, 1);
+}
+END_TEST