atMETEO
An ATmega based weather station
Functions
utils.h File Reference

Testing utilities. More...

#include <sstream>
#include <iomanip>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
std::string to_hex (T value)
 Converts the numeric value into its hex representation. More...
 
template<typename T >
std::string to_hex (T *data, uint16_t length)
 Converts the array of numeric values data into its hex representation. More...
 

Detailed Description

Testing utilities.

This header file provides helpful utilities for testing.

Note
Being part of the unit tests the utils can make use of STL.