Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ unittest
Function
unittest
libraries/AnalogKeypad/test/unit_test_001.cpp:39–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
38
39
unittest(test_constants)
40
{
41
assertEqual(0x00, NOKEY );
42
assertEqual(0x80, PRESSED );
43
assertEqual(0x40, RELEASED);
44
assertEqual(0x20, REPEATED);
45
assertEqual(0x10, CHANGED );
46
}
47
48
49
unittest(test_constructor)
Callers
nothing calls this directly
Calls
4
pressed
Method · 0.80
event
Method · 0.80
key
Method · 0.80
read
Method · 0.45
Tested by
no test coverage detected