manim/tests
Baroudi Aymen bdf7b73ce1
Replace assert with np.testing assertions (#2743)
* Replace assert with np.testing assertions

Using np.testing.assert_array_equal() gives a more readable output.

* Replace assert of np.all with assert_array_equal()

* Replace assert with np.testing assertions

for np.allclose assertions

* Fix np.testing assertion

assert_array_equal takes two argument

* changed some more asserts to np.testing.assert_*

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2022-06-07 11:39:35 +00:00
..
control_data Fix bug introduced in Tex rendering via #2574 (#2587) 2022-03-05 22:28:01 +00:00
helpers Migrate from os.path to pathlib in Testing Scripts (#2685) 2022-04-24 10:48:11 +00:00
opengl Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_graphical_units Added Axes Tip Resize Functionality according to Axes documentation (#2661) 2022-05-09 19:40:19 +00:00
test_logging Fixed a File logging bug and some maintenance (#2546) 2022-03-30 16:43:04 +02:00
test_plugins Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_scene_rendering Fix opengl finish transform (#2676) 2022-04-16 23:30:38 +02:00
utils Migrate from os.path to pathlib in Testing Scripts (#2685) 2022-04-24 10:48:11 +00:00
__init__.py CI: Add support for using Opengl in Subprocess (Windows) (#1987) 2021-08-31 13:16:20 +01:00
assert_utils.py Removed unused imports (#2503) 2022-01-30 14:31:45 +00:00
conftest.py Removed unused imports (#2503) 2022-01-30 14:31:45 +00:00
standard_config.cfg Add OpenGLMobject tests (#2080) 2021-09-28 07:47:06 +08:00
template_generate_graphical_units_data.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_animate.py Improved structure of the :mod:.mobject module (#2476) 2022-02-24 09:29:28 +01:00
test_auto_zoom.py [pre-commit.ci] pre-commit autoupdate (#2520) 2022-02-09 07:55:56 +08:00
test_axes_shift.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_boolean_ops.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_camera.py Allow using :meth:.MovingCamera.auto_zoom without animation (#2693) 2022-04-22 23:07:52 +02:00
test_code_mobject.py Fix Code mobject wrong indentation (#2725) 2022-05-23 21:05:54 +00:00
test_color.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_commands.py Improved CLI help page styling (#1975) 2022-04-24 10:05:23 +00:00
test_composition.py Fixed render flow issues with introducer animations (#2594) 2022-03-08 20:25:04 +00:00
test_config.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_coordinate_system.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_copy.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_deprecation.py Refactored structure of documentation; added :doc:FAQ section <faq/index> (#2732) 2022-05-27 08:45:31 +00:00
test_family.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_file_ops.py Migrated file_ops.py and scene_file_writer.py from os.path to Pathlib (#2642) 2022-04-05 08:09:39 +00:00
test_get_set.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_graph.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_hashing.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_ipython_magic.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_markup.py Removed unused imports (#2503) 2022-01-30 14:31:45 +00:00
test_mobject.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_number_line.py Improved structure of the :mod:.mobject module (#2476) 2022-02-24 09:29:28 +01:00
test_numbers.py Removed unused imports (#2503) 2022-01-30 14:31:45 +00:00
test_opengl_metaclass.py Improved structure of the :mod:.mobject module (#2476) 2022-02-24 09:29:28 +01:00
test_override_animation.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_scene.py Removed unused imports (#2503) 2022-01-30 14:31:45 +00:00
test_set_attr.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_sound.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_space_ops.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_stroke.py Change color, stroke_color and fill_color fields to properties (#2332) 2022-01-29 07:30:59 +08:00
test_svg_mobject.py Change color, stroke_color and fill_color fields to properties (#2332) 2022-01-29 07:30:59 +08:00
test_texmobject.py Fix bug introduced in Tex rendering via #2574 (#2587) 2022-03-05 22:28:01 +00:00
test_text_mobject.py Improved structure of the :mod:.mobject module (#2476) 2022-02-24 09:29:28 +01:00
test_threed_scene.py Fixed :meth:.ThreeDCamera.remove_fixed_orientation_mobjects (#2487) 2022-02-09 11:57:22 +00:00
test_ticks.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00
test_unit_geometry.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_units.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_value_tracker.py Moved :mod:.value_tracker back inside :mod:.mobject (#2573) 2022-02-25 19:05:22 +00:00
test_vectorized_mobject.py Replace assert with np.testing assertions (#2743) 2022-06-07 11:39:35 +00:00
test_version.py Upgraded typehints (#2429) 2022-01-20 12:26:21 +08:00