Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add array assertion routines

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
fortran
Domain
testing

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.

Description

enhancement

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.

Dominant language
Fortran
Stars
5
Forks
2
Avg merge
6h 47m
Merged PRs (30d)
1

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.

More from trixi-framework/FTObjectLibrary

All issues in trixi-framework/FTObjectLibrary

Similar issues

More Testing & QA issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.