A community-maintained Python framework for creating mathematical animations.
added test data
Hugues Devimeux345175272c6e
diff --git a/tests/tests_data/basic_scenes.py b/tests/tests_data/basic_scenes.pynew file mode 100644index 000000000..c26357564--- /dev/null+++ b/tests/tests_data/basic_scenes.py@@ -0,0 +1,31 @@+from manim import *++#This module is used for testing purpose only++class SquareToCircle(Scene):+ def construct(self):+ circle = Circle()+ square = Square()+ square.flip(RIGHT)+ square.rotate(-3 * TAU / 8)+ circle.set_fill(PINK, opacity=0.5)++ self.play(ShowCreation(square))+ self.play(Transform(square, circle))+ self.play(FadeOut(square))++class WriteStuff(Scene):+ def construct(self):+ example_text = TextMobject(+ "This is a some text",+ tex_to_color_map={"text": YELLOW}+ )+ example_tex = TexMobject(+ "\\sum_{k=1}^\\infty {1 \\over k^2} = {\\pi^2 \\over 6}",+ )+ group = VGroup(example_text, example_tex)+ group.arrange(DOWN)+ group.set_width(FRAME_WIDTH - 2 * LARGE_BUFF)++ self.play(Write(example_text))+ self.play(Write(example_tex))diff --git a/tests/tests_data/creation/DrawBorderThenFillTest.npy b/tests/tests_data/creation/DrawBorderThenFillTest.npynew file mode 100644index 000000000..ccfc7f8aaBinary files /dev/null and b/tests/tests_data/creation/DrawBorderThenFillTest.npy differdiff --git a/tests/tests_data/creation/FadeInFromDownTest.npy b/tests/tests_data/creation/FadeInFromDownTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/FadeInFromDownTest.npy differdiff --git a/tests/tests_data/creation/FadeInFromLargeTest.npy b/tests/tests_data/creation/FadeInFromLargeTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/FadeInFromLargeTest.npy differdiff --git a/tests/tests_data/creation/FadeInFromTest.npy b/tests/tests_data/creation/FadeInFromTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/FadeInFromTest.npy differdiff --git a/tests/tests_data/creation/FadeInTest.npy b/tests/tests_data/creation/FadeInTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/FadeInTest.npy differdiff --git a/tests/tests_data/creation/FadeOutAndShiftTest.npy b/tests/tests_data/creation/FadeOutAndShiftTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/creation/FadeOutAndShiftTest.npy differdiff --git a/tests/tests_data/creation/FadeOutTest.npy b/tests/tests_data/creation/FadeOutTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/creation/FadeOutTest.npy differdiff --git a/tests/tests_data/creation/GrowFromCenterTest.npy b/tests/tests_data/creation/GrowFromCenterTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/GrowFromCenterTest.npy differdiff --git a/tests/tests_data/creation/GrowFromEdgeTest.npy b/tests/tests_data/creation/GrowFromEdgeTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/GrowFromEdgeTest.npy differdiff --git a/tests/tests_data/creation/GrowFromPointTest.npy b/tests/tests_data/creation/GrowFromPointTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/GrowFromPointTest.npy differdiff --git a/tests/tests_data/creation/ShowCreationTest.npy b/tests/tests_data/creation/ShowCreationTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/ShowCreationTest.npy differdiff --git a/tests/tests_data/creation/ShrinkToCenterTest.npy b/tests/tests_data/creation/ShrinkToCenterTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/creation/ShrinkToCenterTest.npy differdiff --git a/tests/tests_data/creation/SpinInFromNothingTest.npy b/tests/tests_data/creation/SpinInFromNothingTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/creation/SpinInFromNothingTest.npy differdiff --git a/tests/tests_data/creation/UncreateTest.npy b/tests/tests_data/creation/UncreateTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/creation/UncreateTest.npy differdiff --git a/tests/tests_data/creation/WriteTest.npy b/tests/tests_data/creation/WriteTest.npynew file mode 100644index 000000000..e80518177Binary files /dev/null and b/tests/tests_data/creation/WriteTest.npy differdiff --git a/tests/tests_data/geometry/AnnularSectorTest.npy b/tests/tests_data/geometry/AnnularSectorTest.npynew file mode 100644index 000000000..a15aa1244Binary files /dev/null and b/tests/tests_data/geometry/AnnularSectorTest.npy differdiff --git a/tests/tests_data/geometry/AnnulusTest.npy b/tests/tests_data/geometry/AnnulusTest.npynew file mode 100644index 000000000..7cb120b27Binary files /dev/null and b/tests/tests_data/geometry/AnnulusTest.npy differdiff --git a/tests/tests_data/geometry/ArcBetweenPointsTest.npy b/tests/tests_data/geometry/ArcBetweenPointsTest.npynew file mode 100644index 000000000..cc3ae5217Binary files /dev/null and b/tests/tests_data/geometry/ArcBetweenPointsTest.npy differdiff --git a/tests/tests_data/geometry/ArcTest.npy b/tests/tests_data/geometry/ArcTest.npynew file mode 100644index 000000000..7541b40f3Binary files /dev/null and b/tests/tests_data/geometry/ArcTest.npy differdiff --git a/tests/tests_data/geometry/CircleTest.npy b/tests/tests_data/geometry/CircleTest.npynew file mode 100644index 000000000..78f0f70f9Binary files /dev/null and b/tests/tests_data/geometry/CircleTest.npy differdiff --git a/tests/tests_data/geometry/CoordinatesTest.npy b/tests/tests_data/geometry/CoordinatesTest.npynew file mode 100644index 000000000..b4632579eBinary files /dev/null and b/tests/tests_data/geometry/CoordinatesTest.npy differdiff --git a/tests/tests_data/geometry/CurvedArrowTest.npy b/tests/tests_data/geometry/CurvedArrowTest.npynew file mode 100644index 000000000..4ce741372Binary files /dev/null and b/tests/tests_data/geometry/CurvedArrowTest.npy differdiff --git a/tests/tests_data/geometry/DotTest.npy b/tests/tests_data/geometry/DotTest.npynew file mode 100644index 000000000..5151b856cBinary files /dev/null and b/tests/tests_data/geometry/DotTest.npy differdiff --git a/tests/tests_data/geometry/DoubleArrowTest.npy b/tests/tests_data/geometry/DoubleArrowTest.npynew file mode 100644index 000000000..05be3f1d7Binary files /dev/null and b/tests/tests_data/geometry/DoubleArrowTest.npy differdiff --git a/tests/tests_data/geometry/Elbowtest.npy b/tests/tests_data/geometry/Elbowtest.npynew file mode 100644index 000000000..2fb455aa4Binary files /dev/null and b/tests/tests_data/geometry/Elbowtest.npy differdiff --git a/tests/tests_data/geometry/EllipseTest.npy b/tests/tests_data/geometry/EllipseTest.npynew file mode 100644index 000000000..ad08e2d8bBinary files /dev/null and b/tests/tests_data/geometry/EllipseTest.npy differdiff --git a/tests/tests_data/geometry/LineTest.npy b/tests/tests_data/geometry/LineTest.npynew file mode 100644index 000000000..2dcd9b595Binary files /dev/null and b/tests/tests_data/geometry/LineTest.npy differdiff --git a/tests/tests_data/geometry/PolygonTest.npy b/tests/tests_data/geometry/PolygonTest.npynew file mode 100644index 000000000..a7bb8e92cBinary files /dev/null and b/tests/tests_data/geometry/PolygonTest.npy differdiff --git a/tests/tests_data/geometry/RectangleTest.npy b/tests/tests_data/geometry/RectangleTest.npynew file mode 100644index 000000000..650779206Binary files /dev/null and b/tests/tests_data/geometry/RectangleTest.npy differdiff --git a/tests/tests_data/geometry/RoundedRectangleTest.npy b/tests/tests_data/geometry/RoundedRectangleTest.npynew file mode 100644index 000000000..4c73433bfBinary files /dev/null and b/tests/tests_data/geometry/RoundedRectangleTest.npy differdiff --git a/tests/tests_data/geometry/SectorTest.npy b/tests/tests_data/geometry/SectorTest.npynew file mode 100644index 000000000..c5ea54e63Binary files /dev/null and b/tests/tests_data/geometry/SectorTest.npy differdiff --git a/tests/tests_data/geometry/VectorTest.npy b/tests/tests_data/geometry/VectorTest.npynew file mode 100644index 000000000..70c3ab7ebBinary files /dev/null and b/tests/tests_data/geometry/VectorTest.npy differdiff --git a/tests/tests_data/indication/ApplyWaveTest.npy b/tests/tests_data/indication/ApplyWaveTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/ApplyWaveTest.npy differdiff --git a/tests/tests_data/indication/CircleIndicateTest.npy b/tests/tests_data/indication/CircleIndicateTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/CircleIndicateTest.npy differdiff --git a/tests/tests_data/indication/FlashTest.npy b/tests/tests_data/indication/FlashTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/FlashTest.npy differdiff --git a/tests/tests_data/indication/FocusOnTest.npy b/tests/tests_data/indication/FocusOnTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/FocusOnTest.npy differdiff --git a/tests/tests_data/indication/IndicateTest.npy b/tests/tests_data/indication/IndicateTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/IndicateTest.npy differdiff --git a/tests/tests_data/indication/ShowCreationThenDestructionTest.npy b/tests/tests_data/indication/ShowCreationThenDestructionTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/indication/ShowCreationThenDestructionTest.npy differdiff --git a/tests/tests_data/indication/ShowCreationThenFadeOutTest.npy b/tests/tests_data/indication/ShowCreationThenFadeOutTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/indication/ShowCreationThenFadeOutTest.npy differdiff --git a/tests/tests_data/indication/ShowPassingFlashAroundTest.npy b/tests/tests_data/indication/ShowPassingFlashAroundTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/indication/ShowPassingFlashAroundTest.npy differdiff --git a/tests/tests_data/indication/ShowPassingFlashTest.npy b/tests/tests_data/indication/ShowPassingFlashTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/indication/ShowPassingFlashTest.npy differdiff --git a/tests/tests_data/indication/TurnInsideOutTest.npy b/tests/tests_data/indication/TurnInsideOutTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/TurnInsideOutTest.npy differdiff --git a/tests/tests_data/indication/WiggleOutThenInTest.npy b/tests/tests_data/indication/WiggleOutThenInTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/indication/WiggleOutThenInTest.npy differdiff --git a/tests/tests_data/movements/HomotopyTest.npy b/tests/tests_data/movements/HomotopyTest.npynew file mode 100644index 000000000..60af6c7b6Binary files /dev/null and b/tests/tests_data/movements/HomotopyTest.npy differdiff --git a/tests/tests_data/movements/MoveAlongPathTest.npy b/tests/tests_data/movements/MoveAlongPathTest.npynew file mode 100644index 000000000..a531aa13bBinary files /dev/null and b/tests/tests_data/movements/MoveAlongPathTest.npy differdiff --git a/tests/tests_data/movements/MoveToTest.npy b/tests/tests_data/movements/MoveToTest.npynew file mode 100644index 000000000..4f22b1523Binary files /dev/null and b/tests/tests_data/movements/MoveToTest.npy differdiff --git a/tests/tests_data/movements/PhaseFlowTest.npy b/tests/tests_data/movements/PhaseFlowTest.npynew file mode 100644index 000000000..cbc3eb597Binary files /dev/null and b/tests/tests_data/movements/PhaseFlowTest.npy differdiff --git a/tests/tests_data/movements/RotateTest.npy b/tests/tests_data/movements/RotateTest.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/movements/RotateTest.npy differdiff --git a/tests/tests_data/movements/ShiftTest.npy b/tests/tests_data/movements/ShiftTest.npynew file mode 100644index 000000000..67bb448cbBinary files /dev/null and b/tests/tests_data/movements/ShiftTest.npy differdiff --git a/tests/tests_data/sample_scenes/BasicScene.npy b/tests/tests_data/sample_scenes/BasicScene.npynew file mode 100644index 000000000..2d2fb7cc2Binary files /dev/null and b/tests/tests_data/sample_scenes/BasicScene.npy differdiff --git a/tests/tests_data/sample_scenes/BasicTex.npy b/tests/tests_data/sample_scenes/BasicTex.npynew file mode 100644index 000000000..188dd5e2dBinary files /dev/null and b/tests/tests_data/sample_scenes/BasicTex.npy differdiff --git a/tests/tests_data/sample_scenes/GeometryScene.npy b/tests/tests_data/sample_scenes/GeometryScene.npynew file mode 100644index 000000000..1f0353683Binary files /dev/null and b/tests/tests_data/sample_scenes/GeometryScene.npy differdiff --git a/tests/tests_data/threed/AmbientCameraMoveTest.npy b/tests/tests_data/threed/AmbientCameraMoveTest.npynew file mode 100644index 000000000..001d7c56fBinary files /dev/null and b/tests/tests_data/threed/AmbientCameraMoveTest.npy differdiff --git a/tests/tests_data/threed/AxesTest.npy b/tests/tests_data/threed/AxesTest.npynew file mode 100644index 000000000..0cb1f4e3eBinary files /dev/null and b/tests/tests_data/threed/AxesTest.npy differdiff --git a/tests/tests_data/threed/CameraMoveTest.npy b/tests/tests_data/threed/CameraMoveTest.npynew file mode 100644index 000000000..515e608e0Binary files /dev/null and b/tests/tests_data/threed/CameraMoveTest.npy differdiff --git a/tests/tests_data/threed/CubeTest.npy b/tests/tests_data/threed/CubeTest.npynew file mode 100644index 000000000..31df75ae6Binary files /dev/null and b/tests/tests_data/threed/CubeTest.npy differdiff --git a/tests/tests_data/threed/SphereTest.npy b/tests/tests_data/threed/SphereTest.npynew file mode 100644index 000000000..afb6a1d98Binary files /dev/null and b/tests/tests_data/threed/SphereTest.npy differdiff --git a/tests/tests_data/transform/ApplyComplexFunctionTest.npy b/tests/tests_data/transform/ApplyComplexFunctionTest.npynew file mode 100644index 000000000..ebd795960Binary files /dev/null and b/tests/tests_data/transform/ApplyComplexFunctionTest.npy differdiff --git a/tests/tests_data/transform/ApplyFunctionTest.npy b/tests/tests_data/transform/ApplyFunctionTest.npynew file mode 100644index 000000000..a22156c7dBinary files /dev/null and b/tests/tests_data/transform/ApplyFunctionTest.npy differdiff --git a/tests/tests_data/transform/ApplyMatrixTest.npy b/tests/tests_data/transform/ApplyMatrixTest.npynew file mode 100644index 000000000..e3f12518aBinary files /dev/null and b/tests/tests_data/transform/ApplyMatrixTest.npy differdiff --git a/tests/tests_data/transform/ApplyPointwiseFunctionTest.npy b/tests/tests_data/transform/ApplyPointwiseFunctionTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/transform/ApplyPointwiseFunctionTest.npy differdiff --git a/tests/tests_data/transform/ClockwiseTransformTest.npy b/tests/tests_data/transform/ClockwiseTransformTest.npynew file mode 100644index 000000000..78f0f70f9Binary files /dev/null and b/tests/tests_data/transform/ClockwiseTransformTest.npy differdiff --git a/tests/tests_data/transform/CounterclockwiseTransformTest.npy b/tests/tests_data/transform/CounterclockwiseTransformTest.npynew file mode 100644index 000000000..78f0f70f9Binary files /dev/null and b/tests/tests_data/transform/CounterclockwiseTransformTest.npy differdiff --git a/tests/tests_data/transform/CyclicReplaceTest.npy b/tests/tests_data/transform/CyclicReplaceTest.npynew file mode 100644index 000000000..0cab724b1Binary files /dev/null and b/tests/tests_data/transform/CyclicReplaceTest.npy differdiff --git a/tests/tests_data/transform/FadeToColortTest.npy b/tests/tests_data/transform/FadeToColortTest.npynew file mode 100644index 000000000..f303647c0Binary files /dev/null and b/tests/tests_data/transform/FadeToColortTest.npy differdiff --git a/tests/tests_data/transform/MoveToTargetTest.npy b/tests/tests_data/transform/MoveToTargetTest.npynew file mode 100644index 000000000..e16b35b0aBinary files /dev/null and b/tests/tests_data/transform/MoveToTargetTest.npy differdiff --git a/tests/tests_data/transform/RestoreTest.npy b/tests/tests_data/transform/RestoreTest.npynew file mode 100644index 000000000..78f0f70f9Binary files /dev/null and b/tests/tests_data/transform/RestoreTest.npy differdiff --git a/tests/tests_data/transform/ScaleInPlaceTest.npy b/tests/tests_data/transform/ScaleInPlaceTest.npynew file mode 100644index 000000000..50da222f5Binary files /dev/null and b/tests/tests_data/transform/ScaleInPlaceTest.npy differdiff --git a/tests/tests_data/transform/ShrinkToCenterTest.npy b/tests/tests_data/transform/ShrinkToCenterTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/transform/ShrinkToCenterTest.npy differdiff --git a/tests/tests_data/transform/TransformFromCopyTest.npy b/tests/tests_data/transform/TransformFromCopyTest.npynew file mode 100644index 000000000..78f0f70f9Binary files /dev/null and b/tests/tests_data/transform/TransformFromCopyTest.npy differdiff --git a/tests/tests_data/transform/TransformTest.npy b/tests/tests_data/transform/TransformTest.npynew file mode 100644index 000000000..78f0f70f9Binary files /dev/null and b/tests/tests_data/transform/TransformTest.npy differdiff --git a/tests/tests_data/updaters/UpdaterTest.npy b/tests/tests_data/updaters/UpdaterTest.npynew file mode 100644index 000000000..b0b48565cBinary files /dev/null and b/tests/tests_data/updaters/UpdaterTest.npy differdiff --git a/tests/tests_data/updaters/ValueTrackerTest.npy b/tests/tests_data/updaters/ValueTrackerTest.npynew file mode 100644index 000000000..de3abcab7Binary files /dev/null and b/tests/tests_data/updaters/ValueTrackerTest.npy differdiff --git a/tests/tests_data/writing/TexMobjectTest.npy b/tests/tests_data/writing/TexMobjectTest.npynew file mode 100644index 000000000..83cde8237Binary files /dev/null and b/tests/tests_data/writing/TexMobjectTest.npy differdiff --git a/tests/tests_data/writing/TextMobjectTest.npy b/tests/tests_data/writing/TextMobjectTest.npynew file mode 100644index 000000000..f9215108cBinary files /dev/null and b/tests/tests_data/writing/TextMobjectTest.npy differdiff --git a/tests/tests_data/writing/TextTest.npy b/tests/tests_data/writing/TextTest.npynew file mode 100644index 000000000..b3e2559e2Binary files /dev/null and b/tests/tests_data/writing/TextTest.npy differ