We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ef706 commit 41dab0cCopy full SHA for 41dab0c
.DS_Store
-6 KB
08-parametrization.md
@@ -61,7 +61,7 @@ def test_calculate_area():
61
p12 = Point(2, 0)
62
p13 = Point(1, 1.7320)
63
t1 = Triangle(p11, p12, p13)
64
- assert t1.calculate_area() == 6
+ assert t1.calculate_area() == 1.7320
65
66
# Right-angled triangle
67
p21 = Point(0, 0)
@@ -100,7 +100,7 @@ import pytest
100
@pytest.mark.parametrize(
101
("p1x, p1y, p2x, p2y, p3x, p3y, expected"),
102
[
103
- pytest.param(0, 0, 2, 0, 1, 1.7320, 6, id="Equilateral triangle"),
+ pytest.param(0, 0, 2, 0, 1, 1.7320, 1.7320, id="Equilateral triangle"),
104
pytest.param(0, 0, 3, 0, 0, 4, 6, id="Right-angled triangle"),
105
pytest.param(0, 0, 4, 0, 2, 8, 16, id="Isosceles triangle"),
106
pytest.param(0, 0, 3, 0, 1, 4, 6, id="Scalene triangle"),
md5sum.txt
@@ -12,7 +12,7 @@
12
"episodes/05-testing-exceptions.Rmd" "d687f6e44954a75420d8790909318bc4" "site/built/05-testing-exceptions.md" "2026-02-17"
13
"episodes/06-floating-point-data.Rmd" "07a47665f7417581c5f08b02f0cc0003" "site/built/06-floating-point-data.md" "2026-02-17"
14
"episodes/07-fixtures.Rmd" "3b74462f3bfc250338ca8e1f64675ad0" "site/built/07-fixtures.md" "2026-02-17"
15
-"episodes/08-parametrization.Rmd" "7731b88a93e54e205a45dd3ceeae9df2" "site/built/08-parametrization.md" "2026-02-17"
+"episodes/08-parametrization.Rmd" "f0106de2c2bcf748f3fd9d1adfdd31f3" "site/built/08-parametrization.md" "2026-02-17"
16
"episodes/09-testing-output-files.Rmd" "3ec8b815934521f0a4d244bcb585a8d6" "site/built/09-testing-output-files.md" "2026-02-17"
17
"episodes/10-CI.Rmd" "eb537ca2be5006b0fa4d6d2ce821574f" "site/built/10-CI.md" "2026-02-17"
18
"instructors/instructor-notes.md" "cae72b6712578d74a49fea7513099f8c" "site/built/instructor-notes.md" "2026-02-17"
0 commit comments