projects
/
debian
/
cc1111
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.9.0
[debian/cc1111]
/
support
/
regression
/
tests
/
bug-435214.c
1
/* bug-435214.c
2
*/
3
#include <testfwk.h>
4
5
unsigned long divide(long a)
6
{
7
return a/512ul;
8
}
9
10
void
11
testDivide(void)
12
{
13
ASSERT(divide(1300) == 2);
14
ASSERT(divide(0x12345678) == 0x91A2B);
15
}
16