Add tests #12
6
justfile
6
justfile
@ -10,3 +10,9 @@ manual:
|
||||
gallery:
|
||||
for f in "{{gallery_dir}}"/*.typ; do typst c --root . "$f" "${f%typ}pdf"; done
|
||||
for f in "{{gallery_dir}}"/readme/*.typ; do typst c --root . "$f" "${f%typ}png"; done
|
||||
|
||||
test *filter:
|
||||
tt run {{filter}}
|
||||
|
||||
update-test *filter:
|
||||
tt update {{filter}}
|
4
tests/empty/.gitignore
vendored
Normal file
4
tests/empty/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# generated by tytanic, do not edit
|
||||
|
||||
diff/**
|
||||
out/**
|
BIN
tests/empty/ref/1.png
Normal file
BIN
tests/empty/ref/1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 B |
6
tests/empty/test.typ
Normal file
6
tests/empty/test.typ
Normal file
@ -0,0 +1,6 @@
|
||||
#set page(width: auto, height: auto)
|
||||
#import "/src/lib.typ": *
|
||||
|
||||
#diagram({})
|
||||
|
||||
#diagram(())
|
Reference in New Issue
Block a user