Skip to content

33 prolongation and restriction tests#34

Merged
mknaranja merged 26 commits intomainfrom
33-prolongation-and-restriction-tests
Jun 17, 2024
Merged

33 prolongation and restriction tests#34
mknaranja merged 26 commits intomainfrom
33-prolongation-and-restriction-tests

Conversation

@CodingAllan
Copy link
Copy Markdown
Member

@CodingAllan CodingAllan commented Jul 6, 2023

Merge Request - GuideLine Checklist

Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.

Checks by code author:

Always to be checked:

  • There is at least one issue associated with the pull request.
  • New code adheres with the coding guidelines
  • No large data files have been added to the repository. Maximum size for files should be of the order of KB not MB. In particular avoid adding of pdf, word, or other files that cannot be change-tracked correctly by git.

If functions were changed or functionality was added:

  • Tests for new functionality has been added
  • A local test was succesful

If new functionality was added:

  • There is appropriate documentation of your work. (use doxygen style comments)

If new third party software is used:

  • Did you pay attention to its license? Please remember to add it to the wiki after successful merging.

If new mathematical methods or epidemiological terms are used:

  • Are new methods referenced? Did you provide further documentation?

  • The following questions are addressed in the documentation (if need be):
    ** Developers (what did you do?, how can it be maintained?)
    ** For users (how to use your work?)
    ** For admins (how to install and configure your work?)

  • For documentation: Please write or update the Readme in the current working directory!

Checks by code reviewer(s):

  • Is the code clean of development artifacts e.g., unnecessary comments, prints, ...
  • The ticket goals for each associated issue are reached or problems are clearly addressed (i.e., a new issue was introduced).
  • There are appropriate unit tests and they pass.
  • The git history is clean and linearized for the merge request. All reviewers should squash commits and write a simple and meaningful commit message.
  • Coverage report for new code is acceptable.
  • No large data files have been added to the repository. Maximum size for files should be of the order of KB not MB. In particular avoid adding of pdf, word, or other files that cannot be change-tracked correctly by git.

@CodingAllan CodingAllan requested a review from mknaranja July 6, 2023 08:59
@CodingAllan CodingAllan linked an issue Jul 6, 2023 that may be closed by this pull request
Copy link
Copy Markdown
Member

@mknaranja mknaranja left a comment

Choose a reason for hiding this comment

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

Hi @CodingAllan, I had a brief look. Generally this looks quite complete but there are some things that could be addressed before a more detailed review. Could you add some comments and also look at what I annotated elsewise?

Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.39%. Comparing base (2f0f749) to head (05ae0a7).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   27.93%   28.39%   +0.45%     
==========================================
  Files          86       86              
  Lines        7023     7020       -3     
==========================================
+ Hits         1962     1993      +31     
+ Misses       5061     5027      -34     

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

@CodingAllan
Copy link
Copy Markdown
Member Author

Hi @mknaranja , I just wanted to ask if I should add more comments to the program. Aside from that I think that this is ready for review!

Comment thread tests/mockgrid.h
Comment thread tests/mockgrid.cpp Outdated
Comment thread tests/mockgrid.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
@mknaranja
Copy link
Copy Markdown
Member

@CodingAllan The CI should be running here but it isn't. Is this due to old main? Can you please merge the main?

Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_restriction.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
Comment thread tests/test_prolongation.cpp Outdated
@CodingAllan CodingAllan force-pushed the 33-prolongation-and-restriction-tests branch from bd1161b to 08a2947 Compare June 14, 2024 11:43
@mknaranja mknaranja force-pushed the 33-prolongation-and-restriction-tests branch from 0620ad4 to 05ae0a7 Compare June 17, 2024 07:54
@mknaranja mknaranja merged commit 7ec31ae into main Jun 17, 2024
@mknaranja mknaranja deleted the 33-prolongation-and-restriction-tests branch June 17, 2024 08:02
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.

Unit tests for prolongation and restriction operators

2 participants