interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / unit-tests / clar / test / suites / pointer.c

13 lines · 217 bytes Raw Blame History
1#include "clar.h"
2
3void test_pointer__equal(void)
4{
5 void *p1 = (void *)0x1;
6 cl_assert_equal_p(p1, p1);
7}
8
9void test_pointer__unequal(void)
10{
11 void *p1 = (void *)0x1, *p2 = (void *)0x2;
12 cl_assert_equal_p(p1, p2);
13}