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

Function unittest

libraries/TM1637_RT/test/unit_test_001.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52unittest(test_begin)
53{
54 TM1637 TM;
55 TM.init(2, 3, 6);
56
57 TM.displayClear();
58 // TODO real tests....
59 assertEqual(1, 1);
60}
61
62
63unittest(test_brightness)

Callers

nothing calls this directly

Calls 6

setBrightnessMethod · 0.80
getBrightnessMethod · 0.80
setBitDelayMethod · 0.80
getBitDelayMethod · 0.80
initMethod · 0.45
displayClearMethod · 0.45

Tested by

no test coverage detected