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

Function unittest

libraries/PCF8575/test/unit_test_001.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52
53unittest(test_constants)
54{
55 assertEqual(PCF8575_INITIAL_VALUE, 0xFFFF);
56 assertEqual(PCF8575_OK , 0x00);
57 assertEqual(PCF8575_PIN_ERROR , 0x81);
58 assertEqual(PCF8575_I2C_ERROR , 0x82);
59}
60
61
62unittest(test_begin)

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
read16Method · 0.45
lastErrorMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected