summaryrefslogtreecommitdiffstats
path: root/tests/bits/bitcomp_test.ok
blob: 238f3c47990e94dd1cf7743b2c3365e8eff3e1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

running static tests...

TEST1:
 00110111 01000111 10000001 1111
 00110111 01000111 10000001 1111
Encoded:
-1 00110111 01000111 10000001 1111 [28]
Expected:
0 11011110 10001000 01110101 01100101 100 [35]
  11011110 10001000 01110101 01100101 100 [35]

Decoded:
0 00110111 01000111 10000001 1111 [28]
Expected:
  00110111 01000111 10000001 1111 

TEST2:
 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 00000000 00
 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 00000000 00
Encoded:
1 11011101 01000001 00 [18]
Expected:
1 11011101 01000001 00 [18]

Decoded:
0 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 00000000 00 [90]
Expected:
  11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 00000000 00