Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Macros | Functions
test_ieee11073_01.cpp File Reference
#include <iostream>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <catch2/catch_amalgamated.hpp>
#include <jau/test/catch2_ext.hpp>
#include <direct_bt/ieee11073/DataTypes.hpp>
Include dependency graph for test_ieee11073_01.cpp:

Go to the source code of this file.

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

static void test_AbsoluteTime_IEEE11073 (const std::string &msg, const uint8_t *data_le, const int size, const std::string &expStr)
 
 TEST_CASE ("Datatype IEEE11073 Test 01", "[datatype][IEEE11073]")
 
static void test_float32_IEEE11073_to_IEEE754 (const std::string &msg, const uint32_t raw, const float expFloat)
 

Macro Definition Documentation

◆ CATCH_CONFIG_RUNNER

#define CATCH_CONFIG_RUNNER

Definition at line 6 of file test_ieee11073_01.cpp.

Function Documentation

◆ test_float32_IEEE11073_to_IEEE754()

static void test_float32_IEEE11073_to_IEEE754 ( const std::string &  msg,
const uint32_t  raw,
const float  expFloat 
)
static

Definition at line 15 of file test_ieee11073_01.cpp.

Here is the caller graph for this function:

◆ test_AbsoluteTime_IEEE11073()

static void test_AbsoluteTime_IEEE11073 ( const std::string &  msg,
const uint8_t *  data_le,
const int  size,
const std::string &  expStr 
)
static

Definition at line 22 of file test_ieee11073_01.cpp.

Here is the caller graph for this function:

◆ TEST_CASE()

TEST_CASE ( "Datatype IEEE11073 Test 01"  ,
""  [datatype][IEEE11073] 
)

Definition at line 31 of file test_ieee11073_01.cpp.