#include <doctest/doctest.h>
#include <ExecutionFrame.hpp>
Go to the source code of this file.
◆ TEST_SUITE()
TEST_SUITE |
( |
"NextExecutionFrameTestSuite" |
| ) |
|
Definition at line 17 of file ExecutionFrameTest.cpp.
References ExecutionFrame::ExecuteWorkloads(), and ExecutionFrame::SetNextExecutionFrame().
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)