diff --git a/tests/decorations/lstick rstick/ref/1.png b/tests/decorations/lstick-and-rstick/ref/1.png similarity index 100% rename from tests/decorations/lstick rstick/ref/1.png rename to tests/decorations/lstick-and-rstick/ref/1.png diff --git a/tests/decorations/lstick rstick/ref/2.png b/tests/decorations/lstick-and-rstick/ref/2.png similarity index 100% rename from tests/decorations/lstick rstick/ref/2.png rename to tests/decorations/lstick-and-rstick/ref/2.png diff --git a/tests/decorations/lstick rstick/ref/3.png b/tests/decorations/lstick-and-rstick/ref/3.png similarity index 100% rename from tests/decorations/lstick rstick/ref/3.png rename to tests/decorations/lstick-and-rstick/ref/3.png diff --git a/tests/decorations/lstick rstick/ref/4.png b/tests/decorations/lstick-and-rstick/ref/4.png similarity index 100% rename from tests/decorations/lstick rstick/ref/4.png rename to tests/decorations/lstick-and-rstick/ref/4.png diff --git a/tests/decorations/lstick rstick/ref/5.png b/tests/decorations/lstick-and-rstick/ref/5.png similarity index 100% rename from tests/decorations/lstick rstick/ref/5.png rename to tests/decorations/lstick-and-rstick/ref/5.png diff --git a/tests/decorations/lstick rstick/ref/6.png b/tests/decorations/lstick-and-rstick/ref/6.png similarity index 100% rename from tests/decorations/lstick rstick/ref/6.png rename to tests/decorations/lstick-and-rstick/ref/6.png diff --git a/tests/decorations/lstick rstick/ref/7.png b/tests/decorations/lstick-and-rstick/ref/7.png similarity index 100% rename from tests/decorations/lstick rstick/ref/7.png rename to tests/decorations/lstick-and-rstick/ref/7.png diff --git a/tests/decorations/lstick rstick/test.typ b/tests/decorations/lstick-and-rstick/test.typ similarity index 100% rename from tests/decorations/lstick rstick/test.typ rename to tests/decorations/lstick-and-rstick/test.typ diff --git a/tests/gates/custom colors/test.typ b/tests/gates/custom colors/test.typ deleted file mode 100644 index 2a0f549..0000000 --- a/tests/gates/custom colors/test.typ +++ /dev/null @@ -1,7 +0,0 @@ -#set page(width: auto, height: auto, margin: 0pt) -#import "/src/quill.typ": * - - -#quantum-circuit( - gate($X$, fill: gray), phase($#text([a], fill: red)$, fill: red), phase($#text([a], fill: red)$, fill: .7pt + red, open: true), gate($F_m$, radius: 100%), gate($F#h(.2em)$, radius: (right: 100%), fill: green), targ(fill: auto), targ(fill: blue), ctrl(0, fill: blue), ctrl(0, fill: .7pt + blue, open: true), ctrl(0, fill: blue), ctrl(0, fill: .7pt + blue, open: true), 1 -) \ No newline at end of file diff --git a/tests/gates/custom colors/ref/1.png b/tests/gates/custom-colors/ref/1.png similarity index 100% rename from tests/gates/custom colors/ref/1.png rename to tests/gates/custom-colors/ref/1.png diff --git a/tests/gates/custom-colors/test.typ b/tests/gates/custom-colors/test.typ new file mode 100644 index 0000000..d5dacb1 --- /dev/null +++ b/tests/gates/custom-colors/test.typ @@ -0,0 +1,7 @@ +#set page(width: auto, height: auto, margin: 0pt) +#import "/src/quill.typ": * + + +#quantum-circuit( + gate($X$, fill: gray), phase($text(a, fill: #red)$, fill: red), phase($text(a, fill: #red)$, fill: .7pt + red, open: true), gate($F_m$, radius: 100%), gate($F#h(.2em)$, radius: (right: 100%), fill: green), targ(fill: auto), targ(fill: blue), ctrl(0, fill: blue), ctrl(0, fill: .7pt + blue, open: true), ctrl(0, fill: blue), ctrl(0, fill: .7pt + blue, open: true), 1 +) \ No newline at end of file diff --git a/tests/gates/custom gate size/ref/1.png b/tests/gates/custom-gate-size/ref/1.png similarity index 100% rename from tests/gates/custom gate size/ref/1.png rename to tests/gates/custom-gate-size/ref/1.png diff --git a/tests/gates/custom gate size/ref/2.png b/tests/gates/custom-gate-size/ref/2.png similarity index 100% rename from tests/gates/custom gate size/ref/2.png rename to tests/gates/custom-gate-size/ref/2.png diff --git a/tests/gates/custom gate size/test.typ b/tests/gates/custom-gate-size/test.typ similarity index 100% rename from tests/gates/custom gate size/test.typ rename to tests/gates/custom-gate-size/test.typ diff --git a/tests/gates/custom gate/ref/1.png b/tests/gates/custom-gate/ref/1.png similarity index 100% rename from tests/gates/custom gate/ref/1.png rename to tests/gates/custom-gate/ref/1.png diff --git a/tests/gates/custom gate/test.typ b/tests/gates/custom-gate/test.typ similarity index 100% rename from tests/gates/custom gate/test.typ rename to tests/gates/custom-gate/test.typ diff --git a/tests/gates/inputs and outputs/ref/1.png b/tests/gates/inputs-and-outputs/ref/1.png similarity index 100% rename from tests/gates/inputs and outputs/ref/1.png rename to tests/gates/inputs-and-outputs/ref/1.png diff --git a/tests/gates/inputs and outputs/test.typ b/tests/gates/inputs-and-outputs/test.typ similarity index 100% rename from tests/gates/inputs and outputs/test.typ rename to tests/gates/inputs-and-outputs/test.typ diff --git a/tests/layout/aligned environment/ref/1.png b/tests/layout/aligned-environment/ref/1.png similarity index 100% rename from tests/layout/aligned environment/ref/1.png rename to tests/layout/aligned-environment/ref/1.png diff --git a/tests/layout/aligned environment/test.typ b/tests/layout/aligned-environment/test.typ similarity index 100% rename from tests/layout/aligned environment/test.typ rename to tests/layout/aligned-environment/test.typ diff --git a/tests/layout/placed items/ref/1.png b/tests/layout/placed-items/ref/1.png similarity index 100% rename from tests/layout/placed items/ref/1.png rename to tests/layout/placed-items/ref/1.png diff --git a/tests/layout/placed items/ref/2.png b/tests/layout/placed-items/ref/2.png similarity index 100% rename from tests/layout/placed items/ref/2.png rename to tests/layout/placed-items/ref/2.png diff --git a/tests/layout/placed items/ref/3.png b/tests/layout/placed-items/ref/3.png similarity index 100% rename from tests/layout/placed items/ref/3.png rename to tests/layout/placed-items/ref/3.png diff --git a/tests/layout/placed items/ref/4.png b/tests/layout/placed-items/ref/4.png similarity index 100% rename from tests/layout/placed items/ref/4.png rename to tests/layout/placed-items/ref/4.png diff --git a/tests/layout/placed items/test.typ b/tests/layout/placed-items/test.typ similarity index 100% rename from tests/layout/placed items/test.typ rename to tests/layout/placed-items/test.typ diff --git a/tests/layout/relative for row,col spacing/ref/1.png b/tests/layout/relative-for-row-and-col-spacing/ref/1.png similarity index 100% rename from tests/layout/relative for row,col spacing/ref/1.png rename to tests/layout/relative-for-row-and-col-spacing/ref/1.png diff --git a/tests/layout/relative for row,col spacing/ref/2.png b/tests/layout/relative-for-row-and-col-spacing/ref/2.png similarity index 100% rename from tests/layout/relative for row,col spacing/ref/2.png rename to tests/layout/relative-for-row-and-col-spacing/ref/2.png diff --git a/tests/layout/relative for row,col spacing/test.typ b/tests/layout/relative-for-row-and-col-spacing/test.typ similarity index 100% rename from tests/layout/relative for row,col spacing/test.typ rename to tests/layout/relative-for-row-and-col-spacing/test.typ diff --git a/tests/wire/control wires/ref/1.png b/tests/wire/control-wires/ref/1.png similarity index 100% rename from tests/wire/control wires/ref/1.png rename to tests/wire/control-wires/ref/1.png diff --git a/tests/wire/control wires/test.typ b/tests/wire/control-wires/test.typ similarity index 100% rename from tests/wire/control wires/test.typ rename to tests/wire/control-wires/test.typ diff --git a/tests/wire/plain vertical wire/ref/1.png b/tests/wire/plain-vertical-wire/ref/1.png similarity index 100% rename from tests/wire/plain vertical wire/ref/1.png rename to tests/wire/plain-vertical-wire/ref/1.png diff --git a/tests/wire/plain vertical wire/test.typ b/tests/wire/plain-vertical-wire/test.typ similarity index 100% rename from tests/wire/plain vertical wire/test.typ rename to tests/wire/plain-vertical-wire/test.typ diff --git a/tests/wire/targ, control, phase/ref/1.png b/tests/wire/targ-control-phase/ref/1.png similarity index 100% rename from tests/wire/targ, control, phase/ref/1.png rename to tests/wire/targ-control-phase/ref/1.png diff --git a/tests/wire/targ, control, phase/test.typ b/tests/wire/targ-control-phase/test.typ similarity index 100% rename from tests/wire/targ, control, phase/test.typ rename to tests/wire/targ-control-phase/test.typ