Sha256: 135a5160e2dd642d3a8bce4ea8568a02a0b50e879628d9b86159db89bbc634fa
Contents?: true
Size: 354 Bytes
Versions: 50
Compression:
Stored size: 354 Bytes
Contents
source('./hello-world.R') suppressPackageStartupMessages({ require(testthat) }) test_that("no name", { expect_equal(hello_world(), "Hello, World!") }) test_that("sample name", { expect_equal(hello_world("Alice"), "Hello, Alice!") }) test_that("other sample name", { expect_equal(hello_world("Bob"), "Hello, Bob!") }) print("All tests passed!")
Version data entries
50 entries across 50 versions & 1 rubygems