|
|
19fe87573d
|
test(graph): Add comprehensive test suite for graph system
Add 17 tests covering all aspects of the graph-based pipeline system:
- Graph creation and manipulation (7 tests)
- Empty graph creation
- Node addition with various formats
- Connection handling with validation
- Chain connection helper
- Graph validation (3 tests)
- Disconnected node detection
- Cycle detection using DFS
- Clean graph validation
- Serialization/deserialization (2 tests)
- to_dict() for basic graphs
- from_dict() for loading from dictionaries
- Pipeline conversion (5 tests)
- Minimal pipeline conversion
- Effect nodes with intensity
- Positioning nodes
- Camera nodes
- Simple graph execution
All tests pass successfully and verify the graph system works correctly
with the existing pipeline architecture.
|
2026-03-21 19:26:53 -07:00 |
|