Skip to content

Commit 353865e

Browse files
committed
Fixed cross_product() funtion test
1 parent da4ee62 commit 353865e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/geometry/test_dataclasses.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
(Vector(start=Point(x=1, y=0), end=Point(x=0, y=0)), Point(x=0, y=0), 0.0),
1919
(Vector(start=Point(x=1, y=0), end=Point(x=0, y=0)), Point(x=0, y=-1), 1.0),
2020
(Vector(start=Point(x=1, y=0), end=Point(x=0, y=0)), Point(x=0, y=1), -1.0),
21-
(Vector(start=Point(x=1, y=1), end=Point(x=1, y=3)), Point(x=0, y=0), 2.0),
22-
(Vector(start=Point(x=1, y=1), end=Point(x=1, y=3)), Point(x=1, y=4), 0.0),
23-
(Vector(start=Point(x=1, y=1), end=Point(x=1, y=3)), Point(x=2, y=4), -2.0),
24-
(Vector(start=Point(x=1, y=3), end=Point(x=1, y=1)), Point(x=0, y=0), -2.0),
25-
(Vector(start=Point(x=1, y=3), end=Point(x=1, y=1)), Point(x=1, y=4), 0.0),
26-
(Vector(start=Point(x=1, y=3), end=Point(x=1, y=1)), Point(x=2, y=4), 2.0),
21+
(Vector(start=Point(x=1, y=1), end=Point(x=1, y=3)), Point(x=0, y=0), 0.0),
22+
(Vector(start=Point(x=1, y=1), end=Point(x=1, y=3)), Point(x=1, y=4), -2.0),
23+
(Vector(start=Point(x=1, y=1), end=Point(x=1, y=3)), Point(x=2, y=4), -4.0),
24+
(Vector(start=Point(x=1, y=3), end=Point(x=1, y=1)), Point(x=0, y=0), 0.0),
25+
(Vector(start=Point(x=1, y=3), end=Point(x=1, y=1)), Point(x=1, y=4), 2.0),
26+
(Vector(start=Point(x=1, y=3), end=Point(x=1, y=1)), Point(x=2, y=4), 4.0),
2727
],
2828
)
2929
def test_vector_cross_product(vector: Vector, point: Point, expected_result: float) -> None:

0 commit comments

Comments
 (0)