Skip to content

Comments

ut: add null test#3391

Merged
njzjz merged 2 commits intodeepmodeling:develfrom
wanghan-iapcm:test-null
Mar 3, 2024
Merged

ut: add null test#3391
njzjz merged 2 commits intodeepmodeling:develfrom
wanghan-iapcm:test-null

Conversation

@wanghan-iapcm
Copy link
Collaborator

test the cases:

  1. system only has one atom
  2. system has two atoms that are far away from each other.

In each cases, the force and virial predictions should be zero and energy should be a valid float.

@codecov
Copy link

codecov bot commented Mar 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.59%. Comparing base (f4abe12) to head (a7ec2d0).
Report is 8 commits behind head on devel.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3391      +/-   ##
==========================================
+ Coverage   76.57%   76.59%   +0.02%     
==========================================
  Files         420      420              
  Lines       35682    35754      +72     
  Branches     1620     1620              
==========================================
+ Hits        27323    27387      +64     
- Misses       7491     7499       +8     
  Partials      868      868              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz njzjz added the Test CUDA Trigger test CUDA workflow label Mar 2, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Mar 2, 2024
@njzjz njzjz added this pull request to the merge queue Mar 3, 2024
Merged via the queue into deepmodeling:devel with commit 4f933d8 Mar 3, 2024
@wanghan-iapcm wanghan-iapcm deleted the test-null branch March 4, 2024 03:08
@njzjz njzjz mentioned this pull request Apr 2, 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