mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
* Fix plugins test cleanup a of code * Try fixing `test_when_animation_is_cached` test * Lint * Isort * Use ascii_lowercase for random strings * mark test_when_animation_is_cached as xfail * Fix formatting * Use tempdir's for doctest also * Format * isort * yield tmpdir
22 lines
472 B
Python
22 lines
472 B
Python
from manim import *
|
|
|
|
|
|
class SquareToCircle(Scene):
|
|
def construct(self):
|
|
square = Square()
|
|
circle = Circle()
|
|
self.play(Transform(square, circle))
|
|
|
|
|
|
class FunctionLikeTest(Scene):
|
|
def construct(self):
|
|
assert "FunctionLike" in globals()
|
|
a = FunctionLike()
|
|
self.play(FadeIn(a))
|
|
|
|
|
|
class WithAllTest(Scene):
|
|
def construct(self):
|
|
assert "WithAll" in globals()
|
|
a = WithAll()
|
|
self.play(FadeIn(a))
|