trixi-framework / trixi-framework/FTObjectLibrary

Add array assertion routines

Open
#26 0 comments 0 reactions 0 assignees View on GitHub

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

  • assertEqualTwoIntegerArrays1D
  • assertEqualTwoIntegerArrays2D
  • assertWithinToleranceTwoRealArrays1D
  • assertWithinToleranceTwoRealArrays2D
  • assertWithinToleranceTwoDoubleArrays1D
  • assertWithinToleranceTwoDoubleArrays2D

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.