Sha256: 52a38423de76d8288e3a1dd12033cead0c60067d7956650915ff90d3d6a07a2c
Contents?: true
Size: 354 Bytes
Versions: 87
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
87 entries across 87 versions & 1 rubygems