add tests

This commit is contained in:
2021-10-24 12:52:16 +02:00
parent c2c321eb9b
commit ed977be2fd
15 changed files with 2565 additions and 11 deletions

14
test/dpdk_dummy_test.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include <catch2/catch.hpp>
#include <cstdio>
#include <iostream>
#include <rte_mbuf.h>
#include <rte_mempool.h>
TEST_CASE("rte_mbuf", "[]") {
struct rte_mbuf* mbuf;
struct rte_mempool* mempool = nullptr;
mbuf = rte_pktmbuf_alloc(mempool);
CHECK(mbuf != nullptr);
}