---
title: "Test Cases"
output: learnr::tutorial
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(learnr)
tutorial_options(exercise.checker = function(user_code, ...) return(user_code))
knitr::opts_chunk$set(echo = FALSE)
```

## Test Cases

### Exercise

```{r addition-setup}
x <- 1 + 1
```

```{r addition, exercise = TRUE}

```

```{r addition-solution}
1 + 1
```

```{r addition-check}
check_this_exercise(user_code, solution_code)
```

```{r addition-tests}
1 + 1

# one plus two ----
1 + 2

# one plus three ----
1 + 3

# one equals three ----
1 = 3

# 2 minus one ----
2 - 1
```
