Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ assertEqualsFloat
Function
assertEqualsFloat
samples/Basic_ProgMem/app/application.cpp:47–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
void assertEqualsFloat(float expected, float actual)
48
{
49
if(expected != actual) {
50
Serial <<
"assertEqualsFloat: "
<< expected <<
" != "
<< actual << endl;
51
}
52
}
53
54
void assertEqualsString(String expected, String actual)
55
{
Callers
1
testPgm
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected