8000 update unit tests for graphics · Kith78/spatialmath-python@6f4840e · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f4840e

Browse files
committed
update unit tests for graphics
1 parent d14a62d commit 6f4840e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/base/test_graphics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ def test_plotvol3(self):
1515

1616
def test_plot_box(self):
1717
plot_box("r--", centre=(-2, -3), wh=(1, 1))
18-
plot_box(tl=(1, 1), br=(0, 2), filled=True, color="b")
18+
plot_box(lt=(1, 1), rb=(2, 0), filled=True, color="b")
1919

2020
def test_plot_circle(self):
21-
plot_circle(1, "r") # red circle
22-
plot_circle(2, "b--") # blue dashed circle
23-
plot_circle(0.5, filled=True, color="y") # yellow filled circle
21+
plot_circle(1, (0, 0), "r") # red circle
22+
plot_circle(2, (0, 0), "b--") # blue dashed circle
23+
plot_circle(0.5, (0, 0), filled=True, color="y") # yellow filled circle
2424

2525
def test_ellipse(self):
2626
plot_ellipse(np.diag((1, 2)), "r") # red ellipse

0 commit comments

Comments
 (0)
0