Beispiel #1
0
 public void LostFocusCommandExecute_EditModeFalse()
 {
     Chord c = new Chord();
     c.IsSelected = true;
     c.LostFocusCommandExecute();
     Assert.IsTrue(c.IsEditMode == false, "Chord should not been in Edit mode.");
 }
Beispiel #2
0
 public void LostFocusCommandExecute_DeselectsChord()
 {
     Chord c = new Chord();
     c.IsSelected = true;
     c.LostFocusCommandExecute();
     Assert.IsTrue(c.IsSelected == false, "Chord should have been deselected.");
 }