public void CannotSelectInputGreaterThanSix() { const int greaterThanInput = 7; var pre = new Preamplifier(); pre.SelectInput(greaterThanInput); }
public void CannotSelectInputNumberZero() { const int inputZero = 0; var pre = new Preamplifier(); pre.SelectInput(inputZero); }
public void CanSelectDifferentInput() { const int expectedInput = 2; var pre = new Preamplifier(); Debug.WriteLine(String.Format("Default Input = #{0}", pre.CurrentInput.Number)); pre.SelectInput(expectedInput); Assert.AreEqual(expectedInput, pre.CurrentInput.Number); Debug.WriteLine(String.Format("New Input = #{0}", pre.CurrentInput.Number)); }
public void CannotSelectNegativeInput() { const int negativeInput = -1; var pre = new Preamplifier(); pre.SelectInput(negativeInput); }