Add unit tests

This commit is contained in:
Djuri 2023-11-28 01:30:36 +01:00
parent 8d2edc40ca
commit 98c036f9e3
14 changed files with 263 additions and 126 deletions

10
lib/btclock/utils.hpp Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include <string>
#include <cmath>
int modulo(int x,int N);
double getSupplyAtBlock(uint blockNr);
std::string formatNumberWithSuffix(int64_t num);