MCPcopy Create free account
hub / github.com/SmingHub/Sming / assertEquals8

Function assertEquals8

samples/Basic_ProgMem/app/application.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24const PROGMEM float floats[] = {13, 130, 1300, 13000, 130000, 1300000, 13000000, 130000000};
25
26void assertEquals8(uint8_t expected, uint8_t actual)
27{
28 if(expected != actual) {
29 Serial << "assertEquals8: " << expected << " != " << actual << endl;
30 }
31}
32
33void assertEquals16(uint16_t expected, uint16_t actual)
34{

Callers 1

testPgmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected