public void Tuning_Standard_Seven() { NoteSharp topString = NoteSharp.B; Guitar g = new Guitar(7, TuningStyle.Standard, topString, "standard7"); g.Strings = _service.BuildStandardTuning(g.NumberOfStrings, topString); Assert.IsTrue(g.Strings.Length == g.NumberOfStrings, "Incorrect Number of Strings, Expected {0} got {1}", g.NumberOfStrings, g.Strings.Length); NoteSharp[] realNote = { NoteSharp.B, NoteSharp.E, NoteSharp.A, NoteSharp.D, NoteSharp.G, NoteSharp.B, NoteSharp.E }; for (int i = 0; i < g.NumberOfStrings; i++) { Assert.AreEqual(realNote[i], g.Strings.Notes[i], "Incorrect Note on string {0}", (1 + i)); } }