fix presentation

This commit is contained in:
JOLIMAITRE Matthieu 2024-05-21 03:36:45 +02:00
parent f4c09d21fe
commit 1cfd674026
4 changed files with 22 additions and 2 deletions

View file

@ -33,4 +33,20 @@ def main():
Results in this output when run :
![test output screenshot](./assets/output.png)
![test suite output screenshot](https://git.barnulf.net/mb/okipy/media/branch/master/assets/output.png)
It is also possible to write inline tests :
```py
def add(a, b):
return a + b
@test()
def it_works(ctx):
pass
```
![test inline output screenshot](https://git.barnulf.net/mb/okipy/media/branch/master/assets/inline.png)