Sha256: dd3f5312e784419d7714167c13437932783d6d11175463cb2cc129cbad19ddbd
Contents?: true
Size: 318 Bytes
Versions: 38
Compression:
Stored size: 318 Bytes
Contents
source('./hello-world.R') library(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
38 entries across 38 versions & 1 rubygems