Browse Source

add correction to testing doc, continue.md

test-refactor
cinnaboot 2 months ago
parent
commit
03081090ff
  1. 2
      continue.md

2
continue.md

@ -15,7 +15,7 @@
### 3. Assertions
- `using Catch::Matchers::WithinAbs;` after includes
- `REQUIRE_THAT(value, WithinAbs(expected, tolerance))` — never `Approx()`
- **Always use named tolerance constants** — never hardcode raw numbers in `WithinAbs()`.
- **Always use named tolerance constants** — never hardcode raw numbers for tolerance in `WithinAbs()`.
#### Tolerance Reference
| Constant | Value | Use for |

Loading…
Cancel
Save