6 #include <doctest/doctest.h> 19 TEST_CASE(
"NextExecutionFrameTest")
30 auto nextExecutionFrameB = executionFrameB.
ExecuteWorkloads(&executionFrameA);
31 auto nextExecutionFrameC = executionFrameC.
ExecuteWorkloads(&executionFrameB);
33 CHECK_EQ(nextExecutionFrameA, &executionFrameB);
34 CHECK_EQ(nextExecutionFrameB, &executionFrameC);
36 CHECK(!nextExecutionFrameC);
38 CHECK_NE(nextExecutionFrameA, &executionFrameC);
IExecutionFrame * ExecuteWorkloads(IExecutionFrame *previousFrame) override
void SetNextExecutionFrame(IExecutionFrame *nextExecutionFrame)
TEST_SUITE("NextExecutionFrameTestSuite")