]> mj.ucw.cz Git - libucw.git/blob - ucw/bitops.t
Build: Silenced few -Wimplicit-fallthrough warnings.
[libucw.git] / ucw / bitops.t
1 # Tests for bitops modules
2
3 Run:    ../obj/ucw/bit-ffs-t
4 In:     1
5         2
6         3
7         4
8         5
9         6
10         12345678
11         23030300
12         23030000
13         23000000
14         40000000
15         80000000
16 Out:    0
17         1
18         0
19         2
20         0
21         1
22         3
23         8
24         16
25         24
26         30
27         31
28
29 Run:    ../obj/ucw/bit-fls-t
30 In:     1
31         2
32         3
33         4
34         5
35         6
36         12345678
37         23030303
38         03030303
39         00030303
40         00000303
41         0fedcba9
42 Out:    0
43         1
44         1
45         2
46         2
47         2
48         28
49         29
50         25
51         17
52         9
53         27