public void RequestForNotFoundFrequencyThrowsException() { TraceExecutingMethod(); var toneSet = new ToneUtility(); try { toneSet.GetNoteElements(9999); } catch (ArgumentException ex) { Assert.AreEqual("[The frequency [9999] was not found in the set of available notes]", ex.Message); throw; } }
public void RequestForFrequencyC3ReturnsExpectedElements() { TraceExecutingMethod(); var toneSet = new ToneUtility(); Assert.AreEqual("C.3",toneSet.GetNoteElements(131)); }