Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_vcluster
Commits
c2bf0d2e
Commit
c2bf0d2e
authored
Aug 05, 2015
by
incardon
Browse files
Fixing test for new unpacker
parent
a66b0346
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Packer_unit_tests.hpp
View file @
c2bf0d2e
...
@@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE ( packer_unpacker_test )
...
@@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE ( packer_unpacker_test )
//! [Unpack a message into primitives objects vectors and grids]
//! [Unpack a message into primitives objects vectors and grids]
P
ack_stat
ps
;
Unp
ack_stat
ps
;
unsigned
char
uc2
;
unsigned
char
uc2
;
Unpacker
<
unsigned
char
,
HeapMemory
>::
unpack
(
mem
,
uc2
,
ps
);
Unpacker
<
unsigned
char
,
HeapMemory
>::
unpack
(
mem
,
uc2
,
ps
);
...
@@ -176,7 +176,6 @@ BOOST_AUTO_TEST_CASE ( packer_unpacker_test )
...
@@ -176,7 +176,6 @@ BOOST_AUTO_TEST_CASE ( packer_unpacker_test )
double
d2
;
double
d2
;
Unpacker
<
double
,
HeapMemory
>::
unpack
(
mem
,
d2
,
ps
);
Unpacker
<
double
,
HeapMemory
>::
unpack
(
mem
,
d2
,
ps
);
// Unpack the point and check
// Unpack the point and check
Point_test
<
float
>
p_test
;
Point_test
<
float
>
p_test
;
Unpacker
<
Point_test
<
float
>
,
HeapMemory
>::
unpack
(
mem
,
p_test
,
ps
);
Unpacker
<
Point_test
<
float
>
,
HeapMemory
>::
unpack
(
mem
,
p_test
,
ps
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment