test: sample fixture course
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
7e7ce30535
commit
7a68800f6f
@@ -0,0 +1,3 @@
|
||||
# Introduction
|
||||
|
||||
Welcome to the sample course. It exists so tests have something small to load.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Transcript
|
||||
|
||||
A two-second test pattern plays. Nothing is said.
|
||||
@@ -0,0 +1,7 @@
|
||||
# Code along
|
||||
|
||||
Run the script in the section files:
|
||||
|
||||
```sh
|
||||
sh hello.sh
|
||||
```
|
||||
@@ -0,0 +1,23 @@
|
||||
# Adding numbers
|
||||
|
||||
Functions take values and return values.
|
||||
|
||||
## Exercises
|
||||
|
||||
### Exercise 2.1 — `add`
|
||||
|
||||
Implement `add(a, b)` so that it returns the sum of its arguments.
|
||||
|
||||
## Hints
|
||||
|
||||
<details><summary>Exercise 2.1 (add) — nudge</summary>
|
||||
|
||||
Which operator combines two numbers?
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>Exercise 2.1 (add) — near-solution</summary>
|
||||
|
||||
Return `a + b`.
|
||||
|
||||
</details>
|
||||
Reference in New Issue
Block a user