Sign in
code
/
git
/
fc00bf0f9c609ff4ad3a8a4cf60bf53af3f93fc7
/
.
/
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
);
}