manim/tests/test_plugins/simple_scenes.py
Naveen M K 6e4b02a4d1
Fix tests (#1571)
* 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
2021-05-26 21:51:51 +02:00

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))