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

Created tests for the existing maths/numerical integration modules #32

Conversation

Ramy-Badr-Ahmed
Copy link
Member

@Ramy-Badr-Ahmed Ramy-Badr-Ahmed commented Oct 9, 2024

Contents

  • Created tests to simulate unit testing.
  • Added new test files:
    • trapezoid.f90: Contains unit tests for the trapezoidal_rule module.
    • simpson.f90: Contains unit tests for the simpson_rule` module.
    • midpoint.f90: Contains unit tests for the midpoint_rule module.
    • gaussin_legendre.f90: Contains unit tests for the gaussian_legendre_quadrature module.
    • monte_carlo.f90: Contains unit tests for the monte_carlo_integration module.

Note

Addendum to my PR: #25


Reference

Numerical Recipes: The Art of Scientific Computing, 3rd Edition

Copy link
Member Author

@Ramy-Badr-Ahmed Ramy-Badr-Ahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @SatinWukerORIG ,
Looking forward to your review 🙂

ci

check_code_format

@Ramy-Badr-Ahmed Ramy-Badr-Ahmed force-pushed the tests/numerical_integration_modules branch from 5e71d3b to 3782898 Compare October 10, 2024 11:23
Copy link
Member

@SatinWukerORIG SatinWukerORIG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SatinWukerORIG SatinWukerORIG merged commit 797f589 into TheAlgorithms:main Oct 12, 2024
3 checks passed
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.

2 participants