Skip to content

Commit

Permalink
Merge pull request #17 from lzichi/gh-pages
Browse files Browse the repository at this point in the history
Update Testing Documentation
  • Loading branch information
espottesmith authored Oct 9, 2024
2 parents 6bbe5b8 + 051ead2 commit a66461b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## End-to-end Testing for GMC and NPMC

There are end-to-end testing examples for GMC and NPMC but not for LGMC as its trajectories are not deterministic. Run the tests using `test.sh` inside the `tests` folder.
There are end-to-end testing examples for GMC and NPMC but not for LGMC as its trajectories are not deterministic. These tests can be run as follows **from the main `RNMC` directory**:
```
$ tests/test.sh
```

## Unit Testing
The `tests` folder also contains unit tests using [GoogleTest](https://google.github.io/googletest/primer.html). Unit tests are available for the following classes: `reaction_network`, `nano_particle`, `lattice_reaction_network`, and `lattice`. The unit tests can be used to help determine if changes to the open-source code introduce bugs but are not completely comprehensive.
Expand Down

0 comments on commit a66461b

Please sign in to comment.