test_that("convert complex tuplets to string", {
duration <- to_Duration("h / 4 *(8./q) / 5")
out <- to_string(duration)
expected <- "half/4*(eighth./quarter)/5"
expect_equal(out, expected)
out <- to_string(duration, TRUE)
expected <- "h/4*(8./q)/5"
expect_equal(out, expected)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.