|
18 | 18 | (Vector(start=Point(x=1, y=0), end=Point(x=0, y=0)), Point(x=0, y=0), 0.0),
|
19 | 19 | (Vector(start=Point(x=1, y=0), end=Point(x=0, y=0)), Point(x=0, y=-1), 1.0),
|
20 | 20 | (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), |
27 | 27 | ],
|
28 | 28 | )
|
29 | 29 | def test_vector_cross_product(vector: Vector, point: Point, expected_result: float) -> None:
|
|
0 commit comments