File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ i.e. their tests are:
282282::: challenge
283283## Exercise: Testing a Pure Function
284284
285- Add tests for ` compute_standard_deviation_by_data ()` that check for situations
285+ Add tests for ` compute_standard_deviation_by_day ()` that check for situations
286286when there is only one file with multiple rows,
287287multiple files with one row, and any other cases you can think of that should be tested.
288288
@@ -299,9 +299,9 @@ with more inputs and expected outputs:
299299],
300300ids = [' Two patients in same file' , ' Two patients in different files' , ' Two identical patients in two different files' ])
301301def test_compute_standard_deviation_by_day (data , expected_output ):
302- from inflammation.compute_data import compute_standard_deviation_by_data
302+ from inflammation.compute_data import compute_standard_deviation_by_day
303303
304- result = compute_standard_deviation_by_data (data)
304+ result = compute_standard_deviation_by_day (data)
305305 npt.assert_array_almost_equal(result, expected_output)
306306```
307307
Original file line number Diff line number Diff line change 2525"episodes/31-software-requirements.md" "adf1d73eb1d6449a95378b3f931327e2" "site/built/31-software-requirements.md" "2025-02-25"
2626"episodes/32-software-architecture-design.md" "a5de51c1b48bd4de29e184060108dcc6" "site/built/32-software-architecture-design.md" "2025-05-27"
2727"episodes/33-code-decoupling-abstractions.md" "b8985feb5faae7512cfa3d670b23dd40" "site/built/33-code-decoupling-abstractions.md" "2025-03-10"
28- "episodes/34-code-refactoring.md" "ecfc3e80e4e9a453a0a10069d0d4e894 " "site/built/34-code-refactoring.md" "2025-05-27 "
28+ "episodes/34-code-refactoring.md" "c25645c2e0efd8519e67080ab422d1df " "site/built/34-code-refactoring.md" "2025-06-24 "
2929"episodes/35-software-architecture-revisited.md" "8f92fb912d61d3aded15f51020699a14" "site/built/35-software-architecture-revisited.md" "2024-12-06"
3030"episodes/40-section4-intro.md" "d8aa3c327409db1b14826b7619287c45" "site/built/40-section4-intro.md" "2024-12-06"
3131"episodes/41-code-review.md" "e86600e42548b6d652fb9b43450222fc" "site/built/41-code-review.md" "2025-06-19"
You can’t perform that action at this time.
0 commit comments