tests/testthat/test-normalizeData.R

test_that("Normalize list of audios", {
  normalizedData <- normalizeData(testAudioData)
  expect_true(all(dim(normalizedData$audioData) == dim(testAudioData)))
})

Try the voiceR package in your browser

Any scripts or data that you put into this service are public.

voiceR documentation built on Sept. 13, 2023, 1:07 a.m.