cunit: fix test_read_fast_index_order()
This commit is contained in:
parent
ab5e2cc680
commit
6884e18eeb
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user