Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Functions
test_eui48.cpp File Reference
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <jau/test/catch2_ext.hpp>
#include <jau/basic_types.hpp>
#include <jau/eui48.hpp>
#include <jau/darray.hpp>
Include dependency graph for test_eui48.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("EUI48 Test 01", "[datatype][eui48]")
 
static void test_sub01 (const lb_endian_t byte_order, const std::string &mac_str, const jau::darray< std::string > &mac_sub_strs, const jau::darray< jau::snsize_t > &indices)
 
static void test_sub02 (const std::string &mac_sub_str_exp, const std::string &mac_sub_str, const bool expected_result)
 

Function Documentation

◆ test_sub01()

static void test_sub01 ( const lb_endian_t  byte_order,
const std::string &  mac_str,
const jau::darray< std::string > &  mac_sub_strs,
const jau::darray< jau::snsize_t > &  indices 
)
static

Definition at line 13 of file test_eui48.cpp.

Here is the caller graph for this function:

◆ test_sub02()

static void test_sub02 ( const std::string &  mac_sub_str_exp,
const std::string &  mac_sub_str,
const bool  expected_result 
)
static

Definition at line 54 of file test_eui48.cpp.

Here is the caller graph for this function:

◆ TEST_CASE()

TEST_CASE ( "EUI48 Test 01"  ,
""  [datatype][eui48] 
)

Definition at line 69 of file test_eui48.cpp.