failing unit test (utilities_test_lower_bound)

2 views
Skip to first unread message

nidujay

unread,
May 12, 2008, 5:58:30 PM5/12/08
to Zhe Su, imbu...@googlegroups.com
Hi

Please refer utilities_test.c :
> > BTW two of the existing IM-BUS unit tests fail on my machine. I'll
> > give you more info if you want.
> Thanks. You can send imbus related things to imbus discussion group.

1. The function seems to assume that the data stream is ordered
(comment in header says so). Consequently a binary search is used to
find a suitable location.

2. The byte stream handed to function is not sorted.

Dushara

Reply all
Reply to author
Forward
0 new messages