Skip to content

Commit 41dab0c

Browse files
committed
differences for PR #20
1 parent 68ef706 commit 41dab0c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.DS_Store

-6 KB
Binary file not shown.

08-parametrization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_calculate_area():
6161
p12 = Point(2, 0)
6262
p13 = Point(1, 1.7320)
6363
t1 = Triangle(p11, p12, p13)
64-
assert t1.calculate_area() == 6
64+
assert t1.calculate_area() == 1.7320
6565

6666
# Right-angled triangle
6767
p21 = Point(0, 0)
@@ -100,7 +100,7 @@ import pytest
100100
@pytest.mark.parametrize(
101101
("p1x, p1y, p2x, p2y, p3x, p3y, expected"),
102102
[
103-
pytest.param(0, 0, 2, 0, 1, 1.7320, 6, id="Equilateral triangle"),
103+
pytest.param(0, 0, 2, 0, 1, 1.7320, 1.7320, id="Equilateral triangle"),
104104
pytest.param(0, 0, 3, 0, 0, 4, 6, id="Right-angled triangle"),
105105
pytest.param(0, 0, 4, 0, 2, 8, 16, id="Isosceles triangle"),
106106
pytest.param(0, 0, 3, 0, 1, 4, 6, id="Scalene triangle"),

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"episodes/05-testing-exceptions.Rmd" "d687f6e44954a75420d8790909318bc4" "site/built/05-testing-exceptions.md" "2026-02-17"
1313
"episodes/06-floating-point-data.Rmd" "07a47665f7417581c5f08b02f0cc0003" "site/built/06-floating-point-data.md" "2026-02-17"
1414
"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"
15+
"episodes/08-parametrization.Rmd" "f0106de2c2bcf748f3fd9d1adfdd31f3" "site/built/08-parametrization.md" "2026-02-17"
1616
"episodes/09-testing-output-files.Rmd" "3ec8b815934521f0a4d244bcb585a8d6" "site/built/09-testing-output-files.md" "2026-02-17"
1717
"episodes/10-CI.Rmd" "eb537ca2be5006b0fa4d6d2ce821574f" "site/built/10-CI.md" "2026-02-17"
1818
"instructors/instructor-notes.md" "cae72b6712578d74a49fea7513099f8c" "site/built/instructor-notes.md" "2026-02-17"

0 commit comments

Comments
 (0)