context("test-rational_pitch_class")
test_that("examples", {
expect_equal(rationalise_pitch_class(0), fraction(c(1, 1)))
expect_equal(rationalise_pitch_class(7), fraction(c(3, 2)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.