Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
ca529ddf
Commit
ca529ddf
authored
Feb 22, 2016
by
Andreas Schmidt
Browse files
Fix tests.
parent
5d537ab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/forward_packet_table_tests.cpp
View file @
ca529ddf
...
...
@@ -2,7 +2,7 @@
#include
<cmath>
extern
"C"
{
#include
"prrt/stores/forward_packet_table.h"
#include
"
src/
prrt/stores/forward_packet_table.h"
}
class
ForwardPacketTableTest
:
public
::
testing
::
Test
{
...
...
@@ -46,7 +46,7 @@ TEST_F(ForwardPacketTableTest, SimpleMoveStart) {
}
TEST_F
(
ForwardPacketTableTest
,
ProperStop
)
{
uint16_t
seqno
=
(
uint16_t
)
(
pow
(
2
,
15
)
+
1
);
uint16_t
seqno
=
(
uint16_t
)
(
pow
(
2
,
15
)
+
2
);
ASSERT_FALSE
(
PrrtForwardPacketTable_test_set_is_number_relevant
(
forwardPacketTable
,
seqno
));
for
(
int
i
=
1
;
i
<
seqno
/
2
;
++
i
)
{
...
...
Write
Preview
Supports
Markdown
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