Sign in
code
/
git
/
be414e17e53fea5c8b738d048b03a9678e23f371
/
.
/
t
/
unit-tests
/
clar
/
test
/
suites
/
pointer.c
blob: 20535b159e0fa7cb4716b0b5e97e45b8c78c66c2 [
file
] [
log
] [
blame
]
#include
"clar.h"
void
test_pointer__equal
(
void
)
{
void
*
p1
=
(
void
*)
0x1
;
cl_assert_equal_p
(
p1
,
p1
);
}
void
test_pointer__unequal
(
void
)
{
void
*
p1
=
(
void
*)
0x1
,
*
p2
=
(
void
*)
0x2
;
cl_assert_equal_p
(
p1
,
p2
);
}