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

Function unittest

libraries/FastShiftInOut/test/unit_test_001.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42unittest(test_constructor)
43{
44 FastShiftInOut FSIO(8,9,10);
45
46 assertEqual(LSBFIRST, FSIO.getBitOrder());
47
48 FSIO.setBitOrder(MSBFIRST);
49 assertEqual(MSBFIRST, FSIO.getBitOrder());
50}
51
52
53unittest(test_constructor_LSB)

Callers

nothing calls this directly

Calls 2

getBitOrderMethod · 0.45
setBitOrderMethod · 0.45

Tested by

no test coverage detected