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 test for poisson #400

Merged

Conversation

enkilee
Copy link
Contributor

@enkilee enkilee commented Jun 19, 2023

PR types

Others

PR changes

Others

Describe

#378 3.6 poisson
add unit test for poisson

aistudio@jupyter-115720-6409174:~/PaddleScience$ pytest --cov=./ppsci/equation/pde test/equation/test_poisson.py
========================================================================= test session starts ==========================================================================
platform linux -- Python 3.8.8, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/aistudio/PaddleScience
plugins: anyio-3.7.0, cov-4.1.0
collected 2 items                                                                                                                                                      

test/equation/test_poisson.py ..                                                                                                                                 [100%]

----------- coverage: platform linux, python 3.8.8-final-0 -----------
Name                                      Stmts   Miss  Cover
-------------------------------------------------------------
ppsci/equation/pde/__init__.py                9      0   100%
ppsci/equation/pde/base.py                   26      6    77%
ppsci/equation/pde/biharmonic.py             17     13    24%
ppsci/equation/pde/laplace.py                15     11    27%
ppsci/equation/pde/linear_elasticity.py     155    149     4%
ppsci/equation/pde/navier_stokes.py          60     53    12%
ppsci/equation/pde/normal_dot_vec.py         13      9    31%
ppsci/equation/pde/poisson.py                13      0   100%
ppsci/equation/pde/viv.py                    20     13    35%
-------------------------------------------------------------
TOTAL                                       328    254    23%


========================================================================== 2 passed in 3.86s ===========================================================================

@paddle-bot
Copy link

paddle-bot bot commented Jun 19, 2023

Thanks for your contribution!

Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

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

LGTM

@HydrogenSulfate HydrogenSulfate merged commit 14c7ee3 into PaddlePaddle:develop Jun 19, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jun 20, 2023
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants