git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / unit-tests / clar / test / suites / pointer.c
| 1 | #include "clar.h" |
| 2 | |
| 3 | void test_pointer__equal(void) |
| 4 | { |
| 5 | void *p1 = (void *)0x1; |
| 6 | cl_assert_equal_p(p1, p1); |
| 7 | } |
| 8 | |
| 9 | void test_pointer__unequal(void) |
| 10 | { |
| 11 | void *p1 = (void *)0x1, *p2 = (void *)0x2; |
| 12 | cl_assert_equal_p(p1, p2); |
| 13 | } |