13.8 Test file structure

test_that("multiplication works", {
  expect_equal(2 * 2, 4)
})

Basic form:

test_that("test description", {
  expect_xyz()
  expect_xyz()
  expect_xyz()
})

Recommended 2-6 expect functions inside a test