MCPcopy Create free account
hub / github.com/attermann/microReticulum / testBytesDefault

Function testBytesDefault

test/test_bytes/test_bytes.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "microReticulum/Log.h"
6
7void testBytesDefault(const RNS::Bytes& bytes = {}) {
8 TEST_ASSERT_FALSE(bytes);
9 TEST_ASSERT_EQUAL_size_t(0, bytes.size());
10 TEST_ASSERT_NULL(bytes.data());
11}
12
13RNS::Bytes ref("Test");
14const RNS::Bytes& testBytesReference() {

Callers 1

testBytesMainFunction · 0.85

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected