From 8637f5954a7ef5ee1abd145e2629bddf15048be2 Mon Sep 17 00:00:00 2001 From: Mc-Zen <52877387+Mc-Zen@users.noreply.github.com> Date: Wed, 19 Feb 2025 23:54:46 +0100 Subject: [PATCH] [tests] rename folders containing spaces --- .../{lstick rstick => lstick-and-rstick}/ref/1.png | Bin .../{lstick rstick => lstick-and-rstick}/ref/2.png | Bin .../{lstick rstick => lstick-and-rstick}/ref/3.png | Bin .../{lstick rstick => lstick-and-rstick}/ref/4.png | Bin .../{lstick rstick => lstick-and-rstick}/ref/5.png | Bin .../{lstick rstick => lstick-and-rstick}/ref/6.png | Bin .../{lstick rstick => lstick-and-rstick}/ref/7.png | Bin .../{lstick rstick => lstick-and-rstick}/test.typ | 0 tests/gates/custom colors/test.typ | 7 ------- .../{custom colors => custom-colors}/ref/1.png | Bin tests/gates/custom-colors/test.typ | 7 +++++++ .../ref/1.png | Bin .../ref/2.png | Bin .../{custom gate size => custom-gate-size}/test.typ | 0 tests/gates/{custom gate => custom-gate}/ref/1.png | Bin tests/gates/{custom gate => custom-gate}/test.typ | 0 .../ref/1.png | Bin .../test.typ | 0 .../ref/1.png | Bin .../test.typ | 0 .../layout/{placed items => placed-items}/ref/1.png | Bin .../layout/{placed items => placed-items}/ref/2.png | Bin .../layout/{placed items => placed-items}/ref/3.png | Bin .../layout/{placed items => placed-items}/ref/4.png | Bin .../layout/{placed items => placed-items}/test.typ | 0 .../ref/1.png | Bin .../ref/2.png | Bin .../test.typ | 0 .../wire/{control wires => control-wires}/ref/1.png | Bin .../wire/{control wires => control-wires}/test.typ | 0 .../ref/1.png | Bin .../test.typ | 0 .../ref/1.png | Bin .../test.typ | 0 34 files changed, 7 insertions(+), 7 deletions(-) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/1.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/2.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/3.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/4.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/5.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/6.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/ref/7.png (100%) rename tests/decorations/{lstick rstick => lstick-and-rstick}/test.typ (100%) delete mode 100644 tests/gates/custom colors/test.typ rename tests/gates/{custom colors => custom-colors}/ref/1.png (100%) create mode 100644 tests/gates/custom-colors/test.typ rename tests/gates/{custom gate size => custom-gate-size}/ref/1.png (100%) rename tests/gates/{custom gate size => custom-gate-size}/ref/2.png (100%) rename tests/gates/{custom gate size => custom-gate-size}/test.typ (100%) rename tests/gates/{custom gate => custom-gate}/ref/1.png (100%) rename tests/gates/{custom gate => custom-gate}/test.typ (100%) rename tests/gates/{inputs and outputs => inputs-and-outputs}/ref/1.png (100%) rename tests/gates/{inputs and outputs => inputs-and-outputs}/test.typ (100%) rename tests/layout/{aligned environment => aligned-environment}/ref/1.png (100%) rename tests/layout/{aligned environment => aligned-environment}/test.typ (100%) rename tests/layout/{placed items => placed-items}/ref/1.png (100%) rename tests/layout/{placed items => placed-items}/ref/2.png (100%) rename tests/layout/{placed items => placed-items}/ref/3.png (100%) rename tests/layout/{placed items => placed-items}/ref/4.png (100%) rename tests/layout/{placed items => placed-items}/test.typ (100%) rename tests/layout/{relative for row,col spacing => relative-for-row-and-col-spacing}/ref/1.png (100%) rename tests/layout/{relative for row,col spacing => relative-for-row-and-col-spacing}/ref/2.png (100%) rename tests/layout/{relative for row,col spacing => relative-for-row-and-col-spacing}/test.typ (100%) rename tests/wire/{control wires => control-wires}/ref/1.png (100%) rename tests/wire/{control wires => control-wires}/test.typ (100%) rename tests/wire/{plain vertical wire => plain-vertical-wire}/ref/1.png (100%) rename tests/wire/{plain vertical wire => plain-vertical-wire}/test.typ (100%) rename tests/wire/{targ, control, phase => targ-control-phase}/ref/1.png (100%) rename tests/wire/{targ, control, phase => targ-control-phase}/test.typ (100%) 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