๐งชTesting WorkshopWORKSHOP
1
2
3
4
Step 1
Write a basic test for an `add` function. The starter code provides `add(a, b int) int`. Write `TestAdd` that calls `add(2, 3)` and uses `t.Errorf` to fail if the result is not `5`.
โ Enter (Mac) ยท Ctrl+Enter (Win/Linux)