Chromatic() public static method

public static Chromatic ( string tonic ) : string[]
tonic string
return string[]
Exemplo n.º 1
0
    public void Chromatic_scale_with_sharps()
    {
        var expected = new[] { "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B" };

        Assert.Equal(expected, ScaleGenerator.Chromatic("C"));
    }
Exemplo n.º 2
0
    public void Chromatic_scale_with_flats()
    {
        var expected = new[] { "F", "Gb", "G", "Ab", "A", "Bb", "B", "C", "Db", "D", "Eb", "E" };

        Assert.Equal(expected, ScaleGenerator.Chromatic("F"));
    }