trixi-framework / trixi-framework/FTObjectLibrary
Add array assertion routines
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Fortran
- Stars
- 5
- Forks
- 2
- Avg merge
- 6h 47m
- Merged PRs (30d)
- 1
Description
Add proper routines and testing within Assert.f90 for
assertEqualTwoIntegerArrays1DassertEqualTwoIntegerArrays2DassertWithinToleranceTwoRealArrays1DassertWithinToleranceTwoRealArrays2DassertWithinToleranceTwoDoubleArrays1DassertWithinToleranceTwoDoubleArrays2D
A good / clever way to handle such assertions for large arrays needs to be devised. See discussion here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Assert.f90 and review the discussion linked from pull request #21, focusing on how large arrays should be compared efficiently. Add and test the six requested 1D and 2D integer, real-tolerance, and double-tolerance assertion routines; done means each assertion behaves correctly, including for large arrays.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100