Closed dphfox closed 2 months ago
These are now used as the test cases in the property testing framework for graph objects implemented in push-pull-execution
. With the current set of property tests for tryInvalidate
and tryRevalidate
, that means there's now 236 generated tests, which is 1.7x more than the rest of Fusion's tests combined (137, which were all handwritten!)
I propose that - going forward, unit tests use these standardised graph shapes for all unit tests related to reactive graph update propagation. These should reflect a nice variety of graph shapes that can exhibit interesting behaviours, such as unequal path lengths, cycles, dependency diamonds, multiple sources/outputs, and transitive dependencies.