# Tests

Tests of the library, which can be hacked on using `typst-test`.

Many of the tests are inspired by prior work in TikZ, including:
- <https://latexdraw.com/petri-nets-tikz/>
- <https://tikz.dev/library-petri>

## Example gallery

The following examples are obtained by rendering the individual tests.

![](fletcher/colored-places/ref/1.png)
![](fletcher/connect-places-with-transitions/ref/1.png)
![](fletcher/four-seasons/ref/1.png)
![](fletcher/label-placement/ref/1.png)
![](fletcher/large-example/ref/1.png)
![](fletcher/relative-positioning/ref/1.png)
![](fletcher/transitions/ref/1.png)
![](fletcher/two-concurrent-processes/ref/1.png)
![](fletcher/two-tokens/ref/1.png)

