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

Function unittest

libraries/SRF05/test/unit_test_001.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48unittest(test_constants)
49{
50 assertEqual(0, SRF05_MODE_SINGLE);
51 assertEqual(1, SRF05_MODE_AVERAGE);
52 assertEqual(2, SRF05_MODE_MEDIAN);
53 assertEqual(3, SRF05_MODE_RUN_AVERAGE);
54}
55
56
57unittest(test_constructor)

Callers

nothing calls this directly

Calls 9

getSpeedOfSoundMethod · 0.80
setSpeedOfSoundMethod · 0.80
setModeRunningAverageMethod · 0.80
setModeMedianMethod · 0.80
setModeAverageMethod · 0.80
setModeSingleMethod · 0.80
getCorrectionFactorMethod · 0.45
setCorrectionFactorMethod · 0.45
getOperationalModeMethod · 0.45

Tested by

no test coverage detected