]>
git.proxmox.com Git - libgit2.git/blob - tests/object/raw/size.c
930c6de233cd611d6360f590ef08b0337a9d147c
2 #include "clar_libgit2.h"
6 void test_object_raw_size__validate_oid_size(void)
9 cl_assert(20 == GIT_OID_RAWSZ
);
10 cl_assert(40 == GIT_OID_HEXSZ
);
11 cl_assert(sizeof(out
) == GIT_OID_RAWSZ
);
12 cl_assert(sizeof(out
.id
) == GIT_OID_RAWSZ
);