RawEthernet: Work in progress

This commit is contained in:
2023-04-06 16:16:46 +02:00
parent a8c76d212a
commit d9fcffcdc0
9 changed files with 131 additions and 29 deletions

View File

@@ -3,7 +3,7 @@
#include <catch2/catch.hpp>
#include "../receiver/host/ProcessRawPacket.h"
#include "../receiver/host/ProcessJFPacket.h"
#include "../receiver/host/RawJFUDPPacket.h"
#include "../common/DiffractionExperiment.h"
@@ -11,7 +11,7 @@ TEST_CASE("ProcessRawPacketTest_Empty") {
ThreadSafeFIFO<Completion> c_fifo;
ThreadSafeFIFO<ProcessWorkRequest> wr_fifo;
{
ProcessRawPacket process(c_fifo, wr_fifo, 2);
ProcessJFPacket process(c_fifo, wr_fifo, 2);
}
REQUIRE(c_fifo.Size() == 0);
}
@@ -29,7 +29,7 @@ TEST_CASE("ProcessRawPacketTest") {
DiffractionExperiment experiment(2, {4,4});
{
ProcessRawPacket process(c_fifo, wr_fifo, 4);
ProcessJFPacket process(c_fifo, wr_fifo, 4);
jf_payload datagram;