public void As_sequence_with_shorter_notes() { Intervals intervals = new Intervals("1 3 5").SetRoot("C"); intervals.AsSequence = "$!i $0q $1h $2w"; intervals.GetPattern().ToString().Should().Be("C5i E5i G5i C5q E5h G5w"); }
public void As_sequence_with_longer_notes() { Intervals intervals = new Intervals("1 3 5").SetRoot("C"); intervals.AsSequence = "$0q. $1q $2h"; intervals.GetPattern().ToString().Should().Be("C5q. E5q G5h"); }
public void Test_pattern_with_root() { var intervals = new Intervals("1 3 5"); intervals.SetRoot("C"); intervals.GetPattern().ToString().Should().Be("C5 E5 G5"); }
public void Test_as1() { var intervals = new Intervals("1 3 5").SetRoot("C").As("$!i $0q $1h $2w"); Assert.Equal(intervals.GetPattern().ToString(), "C5i E5i G5i C5q E5h G5w", true); }