tests/testthat/test-data.R

context("Data")

test_that("keys_chords", {
  expect_true(is(keys_chords, "pichor_key_koords"))
  
  # dput(colnames(keys_chords))
  expect_equal(colnames(keys_chords), 
               c("key", "key_color", 
                 "xmin", "ymin", "xmax", "ymax", 
                 "layer", "tones", 
                 "label", "label_x", "label_y", "label_color"))
})
mikldk/pichor documentation built on Jan. 28, 2023, 5 a.m.