tests/testthat/test-spss-compute-concat.R

context("Output of spss.compute.concat")

test_that("spss.compute.concat returns proper output given proper input", {
  expect_equal(spss.compute.concat("feedback", "feedback_f", "enfr.feedback"), "COMPUTE enfr.feedback = concat(feedback,feedback_f).")
})

Try the syntaxr package in your browser

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

syntaxr documentation built on May 2, 2019, 3:45 a.m.