@@ -753,6 +753,8 @@ public void ShouldRippleUncheckCorrectly()
753753 var bNode = testTree . CreatedTreeNodes [ 4 ] ;
754754 var cNode = testTree . CreatedTreeNodes [ 5 ] ;
755755
756+ // Initial state, everything unchecked
757+
756758 Assert . AreEqual ( CheckState . Empty , rootNode . CheckState ) ;
757759 Assert . AreEqual ( CheckState . Empty , parentNode . CheckState ) ;
758760 Assert . AreEqual ( CheckState . Empty , aNode . CheckState ) ;
@@ -761,6 +763,8 @@ public void ShouldRippleUncheckCorrectly()
761763
762764 testTree . ToggleNodeChecked ( 1 , rootNode ) ;
763765
766+ // Checked the root node, everything checked
767+
764768 Assert . AreEqual ( CheckState . Checked , rootNode . CheckState ) ;
765769 Assert . AreEqual ( CheckState . Checked , parentNode . CheckState ) ;
766770 Assert . AreEqual ( CheckState . Checked , aNode . CheckState ) ;
@@ -770,6 +774,8 @@ public void ShouldRippleUncheckCorrectly()
770774 testTreeListener . Received ( 3 ) . AddCheckedNode ( Arg . Any < TestTreeNode > ( ) ) ;
771775 testTreeListener . ClearReceivedCalls ( ) ;
772776
777+ // Unchecked c.txt, c.txt unchecked, parents mixed
778+
773779 testTree . ToggleNodeChecked ( 5 , cNode ) ;
774780
775781 Assert . AreEqual ( CheckState . Mixed , rootNode . CheckState ) ;
@@ -783,6 +789,8 @@ public void ShouldRippleUncheckCorrectly()
783789
784790 testTree . ToggleNodeChecked ( 5 , cNode ) ;
785791
792+ // Checked c.txt, everything checked
793+
786794 Assert . AreEqual ( CheckState . Checked , rootNode . CheckState ) ;
787795 Assert . AreEqual ( CheckState . Checked , parentNode . CheckState ) ;
788796 Assert . AreEqual ( CheckState . Checked , aNode . CheckState ) ;
0 commit comments