Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tests for Various Polygon Shapes in test_geometry #3717

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

nishit2003
Copy link

Overview: What does this pull request change?

This pull request introduces several new tests to the tests/test_graphical_units/test_geometry.py file, specifically focusing on various polygon shapes. These tests cover rendering different types of polygons, including triangles, rectangles, squares, regular polygons, and more. Each test ensures the correct rendering and properties of the respective polygon shapes using Manim's frames_comparison decorator for frame-by-frame comparison. This addition expands the test coverage for polygon rendering functionality in Manim, contributing to the reliability and accuracy of the library's graphics rendering capabilities.

Motivation and Explanation: Why and how do your changes improve the library?

Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

nishit2003 and others added 23 commits April 20, 2024 17:33
* Update documentation and typings for `ParametricFunction`

* testing installation
…ocstrings to def_number_mobjects (`NumberLine` class) in number_line.py
…ocstrings to def_number_mobjects in NumberLine class
…ocstrings to def_number_mobjects (`NumberLine` class) in number_line.py
…ocstrings to def_number_mobjects in NumberLine class
…lled, and FilledAndStroked in test_geometry.py
@JasonGrace2282 JasonGrace2282 marked this pull request as draft May 7, 2024 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

None yet

1 participant