Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Added test case for get_arc_center()

Akash Karnatakf2fd3e3b0655
diff --git a/tests/test_geometry.py b/tests/test_geometry.py
new file mode 100644
index 000000000..f3c853a2b
--- /dev/null
+++ b/tests/test_geometry.py
@@ -0,0 +1,7 @@
+import pytest
+import numpy as np
+from manim import Sector, ORIGIN
+
+
+def test_get_arc_center():
+ assert np.all(Sector().get_arc_center() == ORIGIN)