dwww Home | Show directory contents | Find package

context("strrepeat")

test_that("strrepeat", {
  expect_identical(strrepeat("x", 3), "xxx")
  expect_identical(strrepeat("x", 3, "y"), "xyxyx")
  expect_identical(strrepeat(c("x", "y"), 2), "xyxy")
})

Generated by dwww version 1.15 on Sat Jun 15 00:59:09 CEST 2024.