mirror of https://gerrit.osmocom.org/asn1c
debug
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@709 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
80a4859928
commit
3767bcf81a
|
@ -107,12 +107,11 @@ check(int is_ok, uint8_t *buf, int size, size_t consumed) {
|
|||
|
||||
assert(t.g->size == 2);
|
||||
assert(t.g->bits_unused == 2);
|
||||
printf("%d %d\n", t.g->buf[0], t.g->buf[1]);
|
||||
fprintf(stderr, "%d %d\n", t.g->buf[0], t.g->buf[1]);
|
||||
assert(t.g->buf[0] == 147);
|
||||
assert(t.g->buf[1] != 150);
|
||||
assert(t.g->buf[1] == 148);
|
||||
|
||||
printf("%d\n", t.h->buf[3]);
|
||||
assert(t.h->size == 3);
|
||||
assert(t.h->bits_unused == 1);
|
||||
assert(t.h->buf[0] == 140);
|
||||
|
|
Loading…
Reference in New Issue