Commit ca529ddf authored by Andreas Schmidt's avatar Andreas Schmidt
Browse files

Fix tests.

parent 5d537ab2
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment