manim/tests/test_plugins/simple_scenes.py
Skaft 60a775714e
Adding spell checker as a pre-commit hook (#1544)
* adding codespell precommit hook

* adding codespell config file

* fixing typos

* tweaking variable names to please codespell
2021-05-21 15:43:31 +05:30

29 lines
626 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 NoAllTest(Scene):
def construct(self):
assert "test_plugin" in globals()
a = test_plugin.NoAll()
self.play(FadeIn(a))
class WithAllTest(Scene):
def construct(self):
assert "WithAll" in globals()
a = WithAll()
self.play(FadeIn(a))