mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* Future Annotations * Delete template_twitter_post.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed broken RTD Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
21 lines
761 B
Python
21 lines
761 B
Python
from __future__ import annotations
|
|
|
|
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 YourClassTest(Scene): # e.g. RoundedRectangleTest
|
|
def construct(self):
|
|
circle = Circle()
|
|
self.play(Animation(circle))
|
|
|
|
|
|
set_test_scene(
|
|
YourClassTest,
|
|
"INSERT_MODULE_NAME",
|
|
) # INSERT_MODULE_NAME can be e.g. "geometry" or "movements"
|