MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / doTestSequence

Function doTestSequence

tests/autotester/autotester.cpp:724–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724bool doTestSequence()
725{
726 hashesPassed = hashesFailed = hashesTested = 0;
727 cemucore::keypad_reset();
728
729 for (const auto& command : config.sequence)
730 {
731 if (debugMode)
732 {
733 std::cout << "Launching command " << command.first << " | " << command.second << std::endl;
734 }
735 if (!launchCommand(command))
736 {
737 return false;
738 }
739 cemucore::emu_run(config.delay_after_step);
740 }
741 return true;
742}
743
744} // namespace autotester

Callers 2

mainFunction · 0.85
doStuffMethod · 0.85

Calls 3

keypad_resetFunction · 0.85
launchCommandFunction · 0.85
emu_runFunction · 0.85

Tested by

no test coverage detected