MCPcopy 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
41unittest(test_constructor)
42{
43 I2C_SCANNER scanner;
44 assertTrue(scanner.begin());
45
46 assertTrue(scanner.setClock(200000));
47}
48
49
50unittest(test_getWirePortCount)

Callers

nothing calls this directly

Calls 6

setClockMethod · 0.80
getWirePortCountMethod · 0.80
setWireMethod · 0.80
diagMethod · 0.80
beginMethod · 0.45
pingMethod · 0.45

Tested by

no test coverage detected