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

Function unittest

libraries/MTP40C/test/unit_test_001.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62unittest(test_constants)
63{
64 assertEqual(MTP40_OK , 0x00);
65 assertEqual(MTP40_INVALID_AIR_PRESSURE, 0x01);
66 assertEqual(MTP40_INVALID_GAS_LEVEL , 0x02);
67 assertEqual(MTP40_INVALID_ADDRESS , 0xFF);
68}
69
70
71unittest(test_getType)

Callers

nothing calls this directly

Calls 9

MTP40CClass · 0.85
MTP40DClass · 0.85
MTP40Class · 0.85
getTypeMethod · 0.45
beginMethod · 0.45
setAddressMethod · 0.45

Tested by

no test coverage detected