Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Updated the test case

Akash Karnatak79e58dd0712c
diff --git a/tests/test_unit_geometry.py b/tests/test_unit_geometry.py
index f3c853a2b..da2e78410 100644
--- a/tests/test_unit_geometry.py
+++ b/tests/test_unit_geometry.py
@@ -1,7 +1,7 @@
import pytest
import numpy as np
-from manim import Sector, ORIGIN
+from manim import Sector
def test_get_arc_center():
- assert np.all(Sector().get_arc_center() == ORIGIN)
+ assert np.all(Sector(arc_center=[1, 2, 0]).get_arc_center() == [1, 2, 0])