Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

add new test data

leotrs02224236870f
diff --git a/tests/control_data/graphical_units_data/creation/DrawBorderThenFillTest.npz b/tests/control_data/graphical_units_data/creation/DrawBorderThenFillTest.npz
new file mode 100644
index 000000000..3cb5150ef
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/DrawBorderThenFillTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/FadeInFromDownTest.npz b/tests/control_data/graphical_units_data/creation/FadeInFromDownTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/FadeInFromDownTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/FadeInFromLargeTest.npz b/tests/control_data/graphical_units_data/creation/FadeInFromLargeTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/FadeInFromLargeTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/FadeInFromTest.npz b/tests/control_data/graphical_units_data/creation/FadeInFromTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/FadeInFromTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/FadeInTest.npz b/tests/control_data/graphical_units_data/creation/FadeInTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/FadeInTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/FadeOutAndShiftTest.npz b/tests/control_data/graphical_units_data/creation/FadeOutAndShiftTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/FadeOutAndShiftTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/FadeOutTest.npz b/tests/control_data/graphical_units_data/creation/FadeOutTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/FadeOutTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/GrowFromCenterTest.npz b/tests/control_data/graphical_units_data/creation/GrowFromCenterTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/GrowFromCenterTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/GrowFromEdgeTest.npz b/tests/control_data/graphical_units_data/creation/GrowFromEdgeTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/GrowFromEdgeTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/GrowFromPointTest.npz b/tests/control_data/graphical_units_data/creation/GrowFromPointTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/GrowFromPointTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/ShowCreationTest.npz b/tests/control_data/graphical_units_data/creation/ShowCreationTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/ShowCreationTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/ShrinkToCenterTest.npz b/tests/control_data/graphical_units_data/creation/ShrinkToCenterTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/ShrinkToCenterTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/SpinInFromNothingTest.npz b/tests/control_data/graphical_units_data/creation/SpinInFromNothingTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/SpinInFromNothingTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/UncreateTest.npz b/tests/control_data/graphical_units_data/creation/UncreateTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/UncreateTest.npz differ
diff --git a/tests/control_data/graphical_units_data/creation/WriteTest.npz b/tests/control_data/graphical_units_data/creation/WriteTest.npz
new file mode 100644
index 000000000..6e81913d0
Binary files /dev/null and b/tests/control_data/graphical_units_data/creation/WriteTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/AnnularSectorTest.npz b/tests/control_data/graphical_units_data/geometry/AnnularSectorTest.npz
new file mode 100644
index 000000000..cb6ef9cab
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/AnnularSectorTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/AnnulusTest.npz b/tests/control_data/graphical_units_data/geometry/AnnulusTest.npz
new file mode 100644
index 000000000..4221bcde1
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/AnnulusTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/ArcBetweenPointsTest.npz b/tests/control_data/graphical_units_data/geometry/ArcBetweenPointsTest.npz
new file mode 100644
index 000000000..383926737
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/ArcBetweenPointsTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/ArcTest.npz b/tests/control_data/graphical_units_data/geometry/ArcTest.npz
new file mode 100644
index 000000000..6e2b86e43
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/ArcTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/CircleTest.npz b/tests/control_data/graphical_units_data/geometry/CircleTest.npz
new file mode 100644
index 000000000..5622807c5
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/CircleTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/CoordinatesTest.npz b/tests/control_data/graphical_units_data/geometry/CoordinatesTest.npz
new file mode 100644
index 000000000..94b122d26
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/CoordinatesTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/CurvedArrowTest.npz b/tests/control_data/graphical_units_data/geometry/CurvedArrowTest.npz
new file mode 100644
index 000000000..75ce061e1
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/CurvedArrowTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/CustomDoubleArrowTest.npz b/tests/control_data/graphical_units_data/geometry/CustomDoubleArrowTest.npz
new file mode 100644
index 000000000..c1771dee9
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/CustomDoubleArrowTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/DotTest.npz b/tests/control_data/graphical_units_data/geometry/DotTest.npz
new file mode 100644
index 000000000..5a0294962
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/DotTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/DoubleArrowTest.npz b/tests/control_data/graphical_units_data/geometry/DoubleArrowTest.npz
new file mode 100644
index 000000000..1a1c711ca
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/DoubleArrowTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/Elbowtest.npz b/tests/control_data/graphical_units_data/geometry/Elbowtest.npz
new file mode 100644
index 000000000..fb9aa2d24
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/Elbowtest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/EllipseTest.npz b/tests/control_data/graphical_units_data/geometry/EllipseTest.npz
new file mode 100644
index 000000000..e03a18dcd
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/EllipseTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/LineTest.npz b/tests/control_data/graphical_units_data/geometry/LineTest.npz
new file mode 100644
index 000000000..c00ad5f58
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/LineTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/PolygonTest.npz b/tests/control_data/graphical_units_data/geometry/PolygonTest.npz
new file mode 100644
index 000000000..ed0f2ec9c
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/PolygonTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/RectangleTest.npz b/tests/control_data/graphical_units_data/geometry/RectangleTest.npz
new file mode 100644
index 000000000..735e00cf4
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/RectangleTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/RoundedRectangleTest.npz b/tests/control_data/graphical_units_data/geometry/RoundedRectangleTest.npz
new file mode 100644
index 000000000..c61254c24
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/RoundedRectangleTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/SectorTest.npz b/tests/control_data/graphical_units_data/geometry/SectorTest.npz
new file mode 100644
index 000000000..3e44cfb75
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/SectorTest.npz differ
diff --git a/tests/control_data/graphical_units_data/geometry/VectorTest.npz b/tests/control_data/graphical_units_data/geometry/VectorTest.npz
new file mode 100644
index 000000000..c8b465dbf
Binary files /dev/null and b/tests/control_data/graphical_units_data/geometry/VectorTest.npz differ
diff --git a/tests/control_data/graphical_units_data/graph/PlotFunctions.npz b/tests/control_data/graphical_units_data/graph/PlotFunctions.npz
new file mode 100644
index 000000000..2eb5a985f
Binary files /dev/null and b/tests/control_data/graphical_units_data/graph/PlotFunctions.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/ApplyWaveTest.npz b/tests/control_data/graphical_units_data/indication/ApplyWaveTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/ApplyWaveTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/CircleIndicateTest.npz b/tests/control_data/graphical_units_data/indication/CircleIndicateTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/CircleIndicateTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/FlashTest.npz b/tests/control_data/graphical_units_data/indication/FlashTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/FlashTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/FocusOnTest.npz b/tests/control_data/graphical_units_data/indication/FocusOnTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/FocusOnTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/IndicateTest.npz b/tests/control_data/graphical_units_data/indication/IndicateTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/IndicateTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/ShowCreationThenDestructionTest.npz b/tests/control_data/graphical_units_data/indication/ShowCreationThenDestructionTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/ShowCreationThenDestructionTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/ShowCreationThenFadeOutTest.npz b/tests/control_data/graphical_units_data/indication/ShowCreationThenFadeOutTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/ShowCreationThenFadeOutTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/ShowPassingFlashAroundTest.npz b/tests/control_data/graphical_units_data/indication/ShowPassingFlashAroundTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/ShowPassingFlashAroundTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/ShowPassingFlashTest.npz b/tests/control_data/graphical_units_data/indication/ShowPassingFlashTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/ShowPassingFlashTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/TurnInsideOutTest.npz b/tests/control_data/graphical_units_data/indication/TurnInsideOutTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/TurnInsideOutTest.npz differ
diff --git a/tests/control_data/graphical_units_data/indication/WiggleOutThenInTest.npz b/tests/control_data/graphical_units_data/indication/WiggleOutThenInTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/indication/WiggleOutThenInTest.npz differ
diff --git a/tests/control_data/graphical_units_data/movements/HomotopyTest.npz b/tests/control_data/graphical_units_data/movements/HomotopyTest.npz
new file mode 100644
index 000000000..81a202818
Binary files /dev/null and b/tests/control_data/graphical_units_data/movements/HomotopyTest.npz differ
diff --git a/tests/control_data/graphical_units_data/movements/MoveAlongPathTest.npz b/tests/control_data/graphical_units_data/movements/MoveAlongPathTest.npz
new file mode 100644
index 000000000..f326c7640
Binary files /dev/null and b/tests/control_data/graphical_units_data/movements/MoveAlongPathTest.npz differ
diff --git a/tests/control_data/graphical_units_data/movements/MoveToTest.npz b/tests/control_data/graphical_units_data/movements/MoveToTest.npz
new file mode 100644
index 000000000..50f3af687
Binary files /dev/null and b/tests/control_data/graphical_units_data/movements/MoveToTest.npz differ
diff --git a/tests/control_data/graphical_units_data/movements/PhaseFlowTest.npz b/tests/control_data/graphical_units_data/movements/PhaseFlowTest.npz
new file mode 100644
index 000000000..2d84c60a7
Binary files /dev/null and b/tests/control_data/graphical_units_data/movements/PhaseFlowTest.npz differ
diff --git a/tests/control_data/graphical_units_data/movements/RotateTest.npz b/tests/control_data/graphical_units_data/movements/RotateTest.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/movements/RotateTest.npz differ
diff --git a/tests/control_data/graphical_units_data/movements/ShiftTest.npz b/tests/control_data/graphical_units_data/movements/ShiftTest.npz
new file mode 100644
index 000000000..235cba9c6
Binary files /dev/null and b/tests/control_data/graphical_units_data/movements/ShiftTest.npz differ
diff --git a/tests/control_data/graphical_units_data/sample_scenes/BasicScene.npz b/tests/control_data/graphical_units_data/sample_scenes/BasicScene.npz
new file mode 100644
index 000000000..85ee31861
Binary files /dev/null and b/tests/control_data/graphical_units_data/sample_scenes/BasicScene.npz differ
diff --git a/tests/control_data/graphical_units_data/sample_scenes/BasicTex.npz b/tests/control_data/graphical_units_data/sample_scenes/BasicTex.npz
new file mode 100644
index 000000000..978084e59
Binary files /dev/null and b/tests/control_data/graphical_units_data/sample_scenes/BasicTex.npz differ
diff --git a/tests/control_data/graphical_units_data/sample_scenes/GeometryScene.npz b/tests/control_data/graphical_units_data/sample_scenes/GeometryScene.npz
new file mode 100644
index 000000000..6b2241107
Binary files /dev/null and b/tests/control_data/graphical_units_data/sample_scenes/GeometryScene.npz differ
diff --git a/tests/control_data/graphical_units_data/threed/AmbientCameraMoveTest.npz b/tests/control_data/graphical_units_data/threed/AmbientCameraMoveTest.npz
new file mode 100644
index 000000000..c174c8ec9
Binary files /dev/null and b/tests/control_data/graphical_units_data/threed/AmbientCameraMoveTest.npz differ
diff --git a/tests/control_data/graphical_units_data/threed/AxesTest.npz b/tests/control_data/graphical_units_data/threed/AxesTest.npz
new file mode 100644
index 000000000..49df37b47
Binary files /dev/null and b/tests/control_data/graphical_units_data/threed/AxesTest.npz differ
diff --git a/tests/control_data/graphical_units_data/threed/CameraMoveTest.npz b/tests/control_data/graphical_units_data/threed/CameraMoveTest.npz
new file mode 100644
index 000000000..7c4dcd197
Binary files /dev/null and b/tests/control_data/graphical_units_data/threed/CameraMoveTest.npz differ
diff --git a/tests/control_data/graphical_units_data/threed/CubeTest.npz b/tests/control_data/graphical_units_data/threed/CubeTest.npz
new file mode 100644
index 000000000..859acd741
Binary files /dev/null and b/tests/control_data/graphical_units_data/threed/CubeTest.npz differ
diff --git a/tests/control_data/graphical_units_data/threed/SphereTest.npz b/tests/control_data/graphical_units_data/threed/SphereTest.npz
new file mode 100644
index 000000000..85c81c82a
Binary files /dev/null and b/tests/control_data/graphical_units_data/threed/SphereTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ApplyComplexFunctionTest.npz b/tests/control_data/graphical_units_data/transform/ApplyComplexFunctionTest.npz
new file mode 100644
index 000000000..1706657f2
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ApplyComplexFunctionTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ApplyFunctionTest.npz b/tests/control_data/graphical_units_data/transform/ApplyFunctionTest.npz
new file mode 100644
index 000000000..9ddcb533d
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ApplyFunctionTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ApplyMatrixTest.npz b/tests/control_data/graphical_units_data/transform/ApplyMatrixTest.npz
new file mode 100644
index 000000000..8a50b9dc6
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ApplyMatrixTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ApplyPointwiseFunctionTest.npz b/tests/control_data/graphical_units_data/transform/ApplyPointwiseFunctionTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ApplyPointwiseFunctionTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ClockwiseTransformTest.npz b/tests/control_data/graphical_units_data/transform/ClockwiseTransformTest.npz
new file mode 100644
index 000000000..5622807c5
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ClockwiseTransformTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/CounterclockwiseTransformTest.npz b/tests/control_data/graphical_units_data/transform/CounterclockwiseTransformTest.npz
new file mode 100644
index 000000000..5622807c5
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/CounterclockwiseTransformTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/CyclicReplaceTest.npz b/tests/control_data/graphical_units_data/transform/CyclicReplaceTest.npz
new file mode 100644
index 000000000..0b953aeb8
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/CyclicReplaceTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/FadeToColortTest.npz b/tests/control_data/graphical_units_data/transform/FadeToColortTest.npz
new file mode 100644
index 000000000..5fd21fb75
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/FadeToColortTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/MoveToTargetTest.npz b/tests/control_data/graphical_units_data/transform/MoveToTargetTest.npz
new file mode 100644
index 000000000..f0b46559e
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/MoveToTargetTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/RestoreTest.npz b/tests/control_data/graphical_units_data/transform/RestoreTest.npz
new file mode 100644
index 000000000..5622807c5
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/RestoreTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ScaleInPlaceTest.npz b/tests/control_data/graphical_units_data/transform/ScaleInPlaceTest.npz
new file mode 100644
index 000000000..c981716fc
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ScaleInPlaceTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/ShrinkToCenterTest.npz b/tests/control_data/graphical_units_data/transform/ShrinkToCenterTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/ShrinkToCenterTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/TransformFromCopyTest.npz b/tests/control_data/graphical_units_data/transform/TransformFromCopyTest.npz
new file mode 100644
index 000000000..5622807c5
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/TransformFromCopyTest.npz differ
diff --git a/tests/control_data/graphical_units_data/transform/TransformTest.npz b/tests/control_data/graphical_units_data/transform/TransformTest.npz
new file mode 100644
index 000000000..5622807c5
Binary files /dev/null and b/tests/control_data/graphical_units_data/transform/TransformTest.npz differ
diff --git a/tests/control_data/graphical_units_data/updaters/UpdaterTest.npz b/tests/control_data/graphical_units_data/updaters/UpdaterTest.npz
new file mode 100644
index 000000000..f0eba4e75
Binary files /dev/null and b/tests/control_data/graphical_units_data/updaters/UpdaterTest.npz differ
diff --git a/tests/control_data/graphical_units_data/updaters/ValueTrackerTest.npz b/tests/control_data/graphical_units_data/updaters/ValueTrackerTest.npz
new file mode 100644
index 000000000..f8eb0c53b
Binary files /dev/null and b/tests/control_data/graphical_units_data/updaters/ValueTrackerTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/DarwinTexMobjectTest.npz b/tests/control_data/graphical_units_data/writing/DarwinTexMobjectTest.npz
new file mode 100644
index 000000000..131df64cc
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/DarwinTexMobjectTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/DarwinTextMobjectTest.npz b/tests/control_data/graphical_units_data/writing/DarwinTextMobjectTest.npz
new file mode 100644
index 000000000..0a3587e83
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/DarwinTextMobjectTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/DarwinTextTest.npz b/tests/control_data/graphical_units_data/writing/DarwinTextTest.npz
new file mode 100644
index 000000000..05c861d9e
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/DarwinTextTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/LinuxTexMobjectTest.npz b/tests/control_data/graphical_units_data/writing/LinuxTexMobjectTest.npz
new file mode 100644
index 000000000..a5d33772f
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/LinuxTexMobjectTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/LinuxTextMobjectTest.npz b/tests/control_data/graphical_units_data/writing/LinuxTextMobjectTest.npz
new file mode 100644
index 000000000..d5dc8b1fa
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/LinuxTextMobjectTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/LinuxTextTest.npz b/tests/control_data/graphical_units_data/writing/LinuxTextTest.npz
new file mode 100644
index 000000000..8d84013b6
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/LinuxTextTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/WindowsTexMobjectTest.npz b/tests/control_data/graphical_units_data/writing/WindowsTexMobjectTest.npz
new file mode 100644
index 000000000..131df64cc
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/WindowsTexMobjectTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/WindowsTextMobjectTest.npz b/tests/control_data/graphical_units_data/writing/WindowsTextMobjectTest.npz
new file mode 100644
index 000000000..0a3587e83
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/WindowsTextMobjectTest.npz differ
diff --git a/tests/control_data/graphical_units_data/writing/WindowsTextTest.npz b/tests/control_data/graphical_units_data/writing/WindowsTextTest.npz
new file mode 100644
index 000000000..087fc8b76
Binary files /dev/null and b/tests/control_data/graphical_units_data/writing/WindowsTextTest.npz differ
diff --git a/tests/template_generate_graphical_units_data.py b/tests/template_generate_graphical_units_data.py
new file mode 100644
index 000000000..ee91f4525
--- /dev/null
+++ b/tests/template_generate_graphical_units_data.py
@@ -0,0 +1,18 @@
+from manim import *
+from tests.helpers.graphical_units import set_test_scene
+
+# Note: DO NOT COMMIT THIS FILE. The purpose of this template is to produce control data for graphical_units_data. As
+# soon as the test data is produced, please revert all changes you made to this file, so this template file will be
+# still available for others :)
+# More about graphical unit tests: https://github.com/ManimCommunity/manim/wiki/Testing#graphical-unit-test
+
+
+class YourClassHere(Scene):
+ def construct(self):
+ circle = Circle()
+ self.play(Animation(circle))
+
+
+set_test_scene(
+ YourClassHere, "<module_name>"
+) # <module_name> can be e.g. "geometry" or "movements"
diff --git a/tests/test_renderer.py b/tests/test_renderer.py
new file mode 100644
index 000000000..04458b2da
--- /dev/null
+++ b/tests/test_renderer.py
@@ -0,0 +1,24 @@
+import pytest
+from manim import CairoRenderer, Camera, tempconfig, config
+
+
+def test_renderer():
+ """Test that CairoRenderer instances initialize to the correct config."""
+ # by default, use the config
+ assert (
+ CairoRenderer(Camera).video_quality_config["frame_width"]
+ == config["frame_width"]
+ )
+ # init args override config
+ assert (
+ CairoRenderer(Camera, frame_width=10).video_quality_config["frame_width"] == 10
+ )
+
+ # if config changes, reflect those changes
+ with tempconfig({"frame_width": 100}):
+ assert CairoRenderer(Camera).video_quality_config["frame_width"] == 100
+ # ..init args still override new config
+ assert (
+ CairoRenderer(Camera, frame_width=10).video_quality_config["frame_width"]
+ == 10
+ )