File: test-print.dw_transformer.R

package info (click to toggle)
r-cran-datawizard 1.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,300 kB
  • sloc: sh: 13; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 241 bytes parent folder | download
1
2
3
4
5
6
7
test_that("print.dw_transformer", {
  data(iris)
  expect_snapshot(rescale(iris$Sepal.Length))
  expect_snapshot(normalize(iris$Sepal.Length))
  expect_snapshot(center(iris$Sepal.Length))
  expect_snapshot(standardize(iris$Sepal.Length))
})