btclock_v3/test/test_json/test_bitaxe_parser.hpp
2024-12-19 22:08:35 +01:00

15 lines
323 B
C++

#pragma once
// Mock the Arduino String class if needed
#ifndef ARDUINO
class String {
public:
String(const char* str) : data(str) {}
const char* c_str() const { return data; }
private:
const char* data;
};
#endif
// Declare only the function you want to test
void bitaxeParseApiResponse(String apiResponse);