MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / unittest

Function unittest

libraries/TCA9555/test/unit_test_001.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51unittest(test_constructor_TCA9555)
52{
53 TCA9555 TCA(0x22);
54
55 assertTrue(TCA.begin());
56 assertTrue(TCA.isConnected());
57 assertEqual(55, TCA.getType());
58}
59
60
61unittest(test_constructor_TCA9535)

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
isConnectedMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected