Skip to main content
Glama
emicklei

melrōse musical expression player

by emicklei
undynamic_test.go734 B
package op import ( "testing" "github.com/emicklei/melrose/core" ) func TestUndynamic_S(t *testing.T) { s := core.MustParseSequence("C++ D-- E") u := Undynamic{Target: s} if got, want := u.S().Storex(), "sequence('C D E')"; got != want { t.Errorf("got [%v:%T] want [%v:%T]", got, got, want, want) } } func TestUndynamic_Storex(t *testing.T) { s := core.MustParseSequence("C") u := Undynamic{Target: s} if got, want := u.Storex(), "undynamic(sequence('C'))"; got != want { t.Errorf("got [%v:%T] want [%v:%T]", got, got, want, want) } // TODO // u = Undynamic{Target: failingNoteConvertable{}} // if got, want := u.Storex(), ""; got != want { // t.Errorf("got [%v:%T] want [%v:%T]", got, got, want, want) // } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/emicklei/melrose'

If you have feedback or need assistance with the MCP directory API, please join our Discord server