Commit Graph

2 Commits

Author SHA1 Message Date
Samuele Locatelli 539e600fd1 test(Phase 20): add unit tests for new StateManager events
- ValueChanged event fires on value change with old/new values
- ConnectionStateChanged event fires on IsConnected change from false->true and true->false
- First SetValue event fires with oldValue=0.0
- Total: 12 tests passing, 0 failures
2026-06-20 10:42:12 +02:00
Samuele Locatelli e03d26d388 feat: add unit tests for MemAddress and StateManager (9/9 passing)
- PlcVanguard.Core.Tests project with xUnit framework
- MemAddressTests: parser validation for DBxxx.DBDyyy format
- StateManagerTests: connection state, value storage, snapshot, config params
- 9 tests total, all passing
2026-06-15 16:18:08 +02:00