cunit: fix test_read_fast_index_order()

This commit is contained in:
Anthony Tong 2012-01-14 10:43:40 -06:00
parent ab5e2cc680
commit 6884e18eeb

View File

@ -431,6 +431,7 @@ void test_read_fast_index_order(void)
memset(orderInfo, 0, sizeof(ORDER_INFO));
orderInfo->fieldFlags = 0x70FF;
memset(&fast_index, 0, sizeof(FAST_INDEX_ORDER));
update_read_fast_index_order(s, orderInfo, &fast_index);
CU_ASSERT(fast_index.cacheId == 7);
@ -445,7 +446,7 @@ void test_read_fast_index_order(void)
CU_ASSERT(fast_index.opLeft == 0);
CU_ASSERT(fast_index.opTop == 0);
CU_ASSERT(fast_index.opRight == 0);
CU_ASSERT(fast_index.opBottom == 524);
CU_ASSERT(fast_index.opBottom == 0);
CU_ASSERT(fast_index.x == -32768);
CU_ASSERT(fast_index.y == 124);