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

Function unittest

libraries/MT8870/test/unit_test_001.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50unittest(test_constructor)
51{
52 uint8_t STQ = 4, Q1 = 5, Q2 = 6, Q3 = 7, Q4 = 8;
53 MT8870 DTMF;
54
55 DTMF.begin(STQ, Q1, Q2, Q3, Q4);
56
57 assertFalse(DTMF.available());
58}
59
60
61unittest(test_read)

Callers

nothing calls this directly

Calls 6

lastRawMethod · 0.80
beginMethod · 0.45
availableMethod · 0.45
resetMethod · 0.45
readMethod · 0.45
readRawMethod · 0.45

Tested by

no test coverage detected