gha3mi / forunittest

ForUnitTest: A Fortran library for unit testing.

Home Page:https://gha3mi.github.io/forunittest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Version Documentation License Build

ForUnitTest: A Fortran library for unit testing.

Usage

use forunittest

type(unit_test) :: ut

call ut%check(res, expected, tol, msg)

See example/demo.f90 for a complete example.

fpm dependency

To use ForUnitTest as a dependency in your fpm project, include the following line in your fpm.toml file:

[dependencies]
forunittest = {git="https://github.com/gha3mi/forunittest.git"}

How to Run the Demo

Clone the repository:

Clone the ForUnitTest repository from GitHub using:

git clone https://github.com/gha3mi/forunittest.git
cd forunittest

Run the demo:

fpm run --example demo

API documentation

The most up-to-date API documentation for the main branch is available here. To generate the API documentation for ForUnitTest using ford run the following command:

ford ford.yml

Contributing

Contributions to ForUnitTest are welcome! If you find any issues or would like to suggest improvements, please open an issue.

About

ForUnitTest: A Fortran library for unit testing.

https://gha3mi.github.io/forunittest/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Fortran 100.0%