1 # Tests for the Varint module
2 # In format: <hexnumber>
3 # Out format: <space> <len> <hexnumber>
4 # when run as varint-t full:
5 # Out format: <space> <len> <hexnumber> <hexbyte0> <hexbyte1> ...
8 Run: ../obj/ucw/varint-t full
13 Run: ../obj/ucw/varint-t full
18 Run: ../obj/ucw/varint-t full
23 Run: ../obj/ucw/varint-t full
28 Run: ../obj/ucw/varint-t full
33 Run: ../obj/ucw/varint-t
38 Run: ../obj/ucw/varint-t
43 Run: ../obj/ucw/varint-t
48 Run: ../obj/ucw/varint-t full
50 Out: 5 5 deadbeef f0 ce 8d 7e 6f
53 Run: ../obj/ucw/varint-t
58 Run: ../obj/ucw/varint-t
60 Out: 8 8 20408010204070
63 Run: ../obj/ucw/varint-t
65 Out: 9 9 feeddeadbabebeef
68 Run: ../obj/ucw/varint-t
70 Out: 9 9 102040810204080