ifw-slm 0.1.2
 
Loading...
Searching...
No Matches
testLoopStateData.cpp File Reference

Unit tests for the LoopStateData class. More...

Classes

class  ifw::slm::TestLoopStateData
 

Namespaces

namespace  ifw
 
namespace  ifw::slm
 

Functions

 ifw::slm::TEST_F (TestLoopStateData, InitialState)
 
 ifw::slm::TEST_F (TestLoopStateData, SetActiveSetsClosed)
 
 ifw::slm::TEST_F (TestLoopStateData, SetInactiveSetsOpen)
 
 ifw::slm::TEST_F (TestLoopStateData, SetStateSuspended)
 
 ifw::slm::TEST_F (TestLoopStateData, SetStateClosed)
 
 ifw::slm::TEST_F (TestLoopStateData, CycleUpdateDoesNotAffectErrorCount)
 
 ifw::slm::TEST_F (TestLoopStateData, SetFailIncrementsOnTrue)
 
 ifw::slm::TEST_F (TestLoopStateData, SetFailResetsOnFalse)
 
 ifw::slm::TEST_F (TestLoopStateData, CheckStopWithMaxErrors)
 
 ifw::slm::TEST_F (TestLoopStateData, CheckStopWithZeroMaxErrors)
 
 ifw::slm::TEST_F (TestLoopStateData, CheckStopWithOneMaxError)
 
 ifw::slm::TEST_F (TestLoopStateData, SetValueAndGetValue)
 
 ifw::slm::TEST_F (TestLoopStateData, CycleResetClearsErrorCount)
 
 ifw::slm::TEST_F (TestLoopStateData, MultipleLoopsIndependentState)
 

Detailed Description

Unit tests for the LoopStateData class.

LoopStateData manages per-loop runtime state including cycle counters, error tracking, state transitions, and value storage. These tests verify the in-memory state logic without relying on OLDB.