1library(pystr) 2context("pystr_lower") 3 4test_that("it converts to lowercase", { 5 expect_equal(pystr_lower("HELLO!"), "hello!") 6}) 7 8test_that("it works with a character vector", { 9 expect_equal(pystr_lower(c("HELLO!", "hellO")), c("hello!", "hello")) 10}) 11