Skip to content

Commit

Permalink
tests: Add test for min. cetz version compat
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Jun 26, 2024
1 parent d6f57c6 commit 3525630
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Binary file added tests/cetz-version/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions tests/cetz-version/test.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#set page(width: auto, height: auto)
#import "/src/lib.typ": venn2, venn3
#import "/tests/helper.typ": *

// Import the minimum supported cetz version
#import "@preview/cetz:0.2.0"

#import cetz.draw: content, set-style

#test-case({
venn2()
})

#test-case({
venn3()
})

0 comments on commit 3525630

Please sign in to comment.