tests/testthat/test_clean_location_name.R

context("clean data")

test_that('can clean location names', {
  expect_equal(
    eq_location_clean("TURKEY:  IZMIR,ALASEHIR,DENIZLI,AYDIN"),
    "IZMIR,ALASEHIR,DENIZLI,AYDIN"
  )
})
RussellPolitzky/quake documentation built on May 23, 2019, 10:35 p.m.