forked from btclock/btclock_v3
Add unit tests
This commit is contained in:
parent
8d2edc40ca
commit
98c036f9e3
14 changed files with 263 additions and 126 deletions
10
lib/btclock/data_handler.hpp
Normal file
10
lib/btclock/data_handler.hpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <array>
|
||||
#include <string>
|
||||
#include <cmath>
|
||||
#include "utils.hpp"
|
||||
|
||||
std::array<std::string, NUM_SCREENS> parsePriceData(uint price, char currencySymbol);
|
||||
std::array<std::string, NUM_SCREENS> parseSatsPerCurrency(uint price, char currencySymbol);
|
||||
std::array<std::string, NUM_SCREENS> parseBlockHeight(uint blockHeight);
|
||||
std::array<std::string, NUM_SCREENS> parseHalvingCountdown(uint blockHeight);
|
||||
std::array<std::string, NUM_SCREENS> parseMarketCap(uint blockHeight, uint price, char currencySymbol, bool bigChars);
|
Loading…
Add table
Add a link
Reference in a new issue