MCPcopy Create free account
hub / github.com/LennartHennigs/Button2 / resetTestState

Function resetTestState

test/test_multiple/test_multiple.cpp:92–100  ·  view source on GitHub ↗

Reset all test state

Source from the content-addressed store, hash-verified

90
91// Reset all test state
92void resetTestState() {
93 g_button1_clicks = 0;
94 g_button2_clicks = 0;
95 g_button3_clicks = 0;
96 g_last_button_id = -1;
97 simulatedPin37State = HIGH;
98 simulatedPin38State = HIGH;
99 simulatedPin39State = HIGH;
100}
101
102/////////////////////////////////////////////////////////////////
103// MULTIPLE BUTTON TESTS

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected