public void HandlesBlackNoteChords(string chordName, string expectedNote, string expectedShape) { var segragation = new WordsSegragation(chordName); Assert.That(segragation.Note, Is.EqualTo(expectedNote).IgnoreCase); Assert.That(segragation.Shape, Is.EqualTo(expectedShape)); }
public void SanitisesInput(string chordName, string expectedNote, string expectedShape) { var segragation = new WordsSegragation(chordName); Assert.That(segragation.Note, Is.EqualTo(expectedNote).IgnoreCase); Assert.That(segragation.Shape, Is.EqualTo(expectedShape)); }
public void HandlesSingleNoteChords(string chordName) { var segragation = new WordsSegragation(chordName); Assert.That(segragation.Note, Is.EqualTo(chordName).IgnoreCase); Assert.That(segragation.Shape, Is.Empty); }