Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ unittest
Function
unittest
libraries/I2C_SCANNER/test/unit_test_001.cpp:41–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
40
41
unittest(test_constructor)
42
{
43
I2C_SCANNER scanner;
44
assertTrue(scanner.begin());
45
46
assertTrue(scanner.setClock(200000));
47
}
48
49
50
unittest(test_getWirePortCount)
Callers
nothing calls this directly
Calls
6
setClock
Method · 0.80
getWirePortCount
Method · 0.80
setWire
Method · 0.80
diag
Method · 0.80
begin
Method · 0.45
ping
Method · 0.45
Tested by
no test coverage detected