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

Jest test for DrawerHelper JS #954

Merged
merged 1 commit into from Apr 29, 2024

Conversation

gbengaoluwadahunsi
Copy link
Contributor

Summary
I wrote test functions in the test file for the drawLine and drawCircle methods of the caDrawHelper JS file. These tests verify that the methods correctly call the appropriate canvas methods to draw lines and circles, respectively.

Motivation
The purpose of writing these test functions is to ensure the correctness and robustness of the caDrawHelper class. By having comprehensive test coverage, we can confidently make changes to the codebase, knowing that existing functionality remains intact.

Testing
The test functions have been carefully crafted to cover various scenarios and edge cases for drawing lines and circles. They validate the behavior of the methods and provide assurance that they perform as expected.

helper

@birm birm merged commit c0ef52b into camicroscope:develop Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants