tests/testthat/test-searchIPA.R

context("R/data-search-ipa.R")

test_that("search IPA returns properly", {
  expect_equal(nrow(searchIPA("_h", "xsampa")), 1)
  expect_true(nrow(searchIPA("affricate", "feature")) > 1)
})

Try the linguisticsdown package in your browser

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

linguisticsdown documentation built on May 2, 2019, 2:26 p.m.