diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ff25f5f..8a28c721 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: version: - '1.6' # latest LTS - '1' - - '~1.10.0-0' # upcoming julia version, next `rc` + - '~1.11.0-0' # upcoming julia version, next `rc` experimental: - false os: [ubuntu-latest] diff --git a/src/interface/heatmap.jl b/src/interface/heatmap.jl index a4967dbb..5a370185 100644 --- a/src/interface/heatmap.jl +++ b/src/interface/heatmap.jl @@ -178,6 +178,7 @@ function heatmap( labels, height, width, + margin, colorbar_lim = (mi, ma), colormap = callback, min_height = 1, diff --git a/src/interface/spy.jl b/src/interface/spy.jl index 65d61ece..f099dfdf 100644 --- a/src/interface/spy.jl +++ b/src/interface/spy.jl @@ -82,6 +82,13 @@ _strict_non_zeros(rows, cols, vals) = rows[I], cols[I], vals[I] end +_findnz(A::AbstractMatrix) = + let I = findall(!iszero, A) + getindex.(I, 1), getindex.(I, 2), A[I] + end + +_findnz(A::AbstractSparseMatrix) = findnz(A) + function spy( nrow::Integer, ncol::Integer, @@ -99,6 +106,8 @@ function spy( canvas::Type{<:Canvas} = KEYWORDS.canvas, fix_ar::Bool = KEYWORDS.fix_ar, show_zeros::Bool = false, + xflip::Bool = false, + yflip::Bool = true, kw..., ) pkw, okw = split_plot_kw(kw) @@ -120,15 +129,33 @@ function spy( extra_cols = 6, ) - can = canvas(height, width; height = 1.0 + nrow, width = 1.0 + ncol) - plot = Plot(can; margin, padding, pkw...) + ylim = [1, nrow] + xlim = [1, ncol] + + plot = Plot( + xlim, + ylim, + nothing, + canvas; + ylim, + xlim, + yflip, + xflip, + height, + width, + margin, + padding, + grid = false, + canvas_kw = (; height = 1.0 + nrow, width = 1.0 + ncol), + pkw..., + ) if color ≢ :auto - points!(plot, cols, nrow + 1 .- rows; color) + points!(plot, cols, rows; color) label!(plot, :r, 1, show_zeros ? "⩵ 0" : "≠ 0", color) else if show_zeros - points!(plot, cols, nrow + 1 .- rows; color = :green) + points!(plot, cols, rows; color = :green) label!(plot, :r, 1, "⩵ 0", :green) else pos_idx = vals .> 0 @@ -137,25 +164,13 @@ function spy( pos_rows = rows[pos_idx] neg_cols = cols[neg_idx] neg_rows = rows[neg_idx] - points!(plot, pos_cols, nrow + 1 .- pos_rows; color = :red) - points!(plot, neg_cols, nrow + 1 .- neg_rows; color = :blue) + points!(plot, pos_cols, pos_rows; color = :red) + points!(plot, neg_cols, neg_rows; color = :blue) label!(plot, :r, 1, "> 0", :red) label!(plot, :r, 2, "< 0", :blue) end end - bc = BORDER_COLOR[] - label!(plot, :l, 1, "1", bc) - label!(plot, :l, nrows(plot.graphics), nice_repr(nrow, plot), bc) - label!(plot, :bl, "1", bc) - label!(plot, :br, nice_repr(ncol, plot), bc) isempty(xlabel(plot)) && xlabel!(plot, nice_repr(length(vals), plot) * (show_zeros ? " ⩵ 0" : " ≠ 0")) plot end - -_findnz(A::AbstractMatrix) = - let I = findall(!iszero, A) - getindex.(I, 1), getindex.(I, 2), A[I] - end - -_findnz(A::AbstractSparseMatrix) = findnz(A) diff --git a/src/plot.jl b/src/plot.jl index 04ef5476..22592587 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -196,7 +196,7 @@ function Plot( height = something(height ≡ :auto ? displaysize(stdout)[1] - 6 - (isempty(title) ? 0 : 1) : height, DEFAULT_HEIGHT[]) width = something(width ≡ :auto ? displaysize(stdout)[2] - 10 : width, DEFAULT_WIDTH[]) - (visible = width > 0) && (width = max(width, min_width)) + (visible = width ≥ 0) && (width = max(width, min_width)) height = max(height, min_height) x, y, z = validate_input(x, y, z) diff --git a/test/references_24/spy/default_0x0.txt b/test/references_24/spy/default_0x0.txt index 47ef0d71..d15127d9 100644 --- a/test/references_24/spy/default_0x0.txt +++ b/test/references_24/spy/default_0x0.txt @@ -1,6 +1,6 @@ ┌─────┐ - 1 │⠀⠀⠀⠀⠀│ > 0 - 0 │⠀⠀⠀⠀⠀│ < 0 + 0 │⠀⠀⠀⠀⠀│ > 0 + 1 │⠀⠀⠀⠀⠀│ < 0 └─────┘ - ⠀1⠀⠀⠀0⠀ + ⠀0⠀⠀⠀1⠀ ⠀0 ≠ 0⠀ \ No newline at end of file diff --git a/test/references_24/spy/default_10x10.txt b/test/references_24/spy/default_10x10.txt index aaf1ff66..396a1511 100644 --- a/test/references_24/spy/default_10x10.txt +++ b/test/references_24/spy/default_10x10.txt @@ -1,6 +1,6 @@ ┌─────┐ - 1 │⠀⡈⡆⠀⠔│ > 0 - 10 │⠡⠀⠂⣂⡀│ < 0 + 1 │⡠⠹⠀⠐⠁│ > 0 + 10 │⠂⠐⠰⠤⠀│ < 0 └─────┘ ⠀1⠀⠀10⠀ ⠀14 ≠ 0 \ No newline at end of file diff --git a/test/references_24/spy/default_10x15.txt b/test/references_24/spy/default_10x15.txt index 260b3de0..27582598 100644 --- a/test/references_24/spy/default_10x15.txt +++ b/test/references_24/spy/default_10x15.txt @@ -1,7 +1,7 @@ ┌────────┐ - 1 │⠀⠀⢢⠀⢀⠴⡀⣤│ > 0 -  │⠠⠐⠐⠀⠀⠀⠈⠐│ < 0 - 10 │⠀⠂⠈⠨⠤⠈⠂⠐│  + 1 │⠀⠈⠆⠀⠔⠣⡰⠆│ > 0 +  │⠂⠁⡁⡀⠀⡀⠀⠁│ < 0 + 10 │⠈⠀⠀⠒⠂⠈⠀⠁│  └────────┘ ⠀1⠀⠀⠀⠀⠀15⠀ ⠀⠀26 ≠ 0⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/default_15x10.txt b/test/references_24/spy/default_15x10.txt index 7775b180..4bc3ceba 100644 --- a/test/references_24/spy/default_15x10.txt +++ b/test/references_24/spy/default_15x10.txt @@ -1,8 +1,8 @@ ┌─────┐ - 1 │⠀⢂⠀⢄⠀│ > 0 -  │⠌⠀⠐⠀⢁│ < 0 -  │⠠⠀⠍⡈⠨│  - 15 │⠀⡃⢀⠡⠣│  + 1 │⡈⠄⠐⢄⠀│ > 0 +  │⠂⢀⡁⡀⡄│ < 0 +  │⢂⠐⢠⢀⠂│  + 15 │⠨⠀⠄⠊⠂│  └─────┘ ⠀1⠀⠀10⠀ ⠀26 ≠ 0 \ No newline at end of file diff --git a/test/references_24/spy/default_2000x200.txt b/test/references_24/spy/default_2000x200.txt index a94d07f1..21041b90 100644 --- a/test/references_24/spy/default_2000x200.txt +++ b/test/references_24/spy/default_2000x200.txt @@ -2,7 +2,7 @@ 1 │⠀⠁⠀⠂⠀│ > 0  │⠀⠀⠐⠀⠀│ < 0  │⠠⠈⠌⡀⠰│  -  │⢠⠀⠀⠄⠌│  +  │⢄⠀⠀⠄⠌│   │⠀⠀⢉⠁⠀│   │⢈⠀⠂⠀⢄│   │⠀⠢⠀⠀⠂│  diff --git a/test/references_24/spy/default_200x2000.txt b/test/references_24/spy/default_200x2000.txt index 1dd68b3e..47135fe5 100644 --- a/test/references_24/spy/default_200x2000.txt +++ b/test/references_24/spy/default_200x2000.txt @@ -1,7 +1,7 @@ ┌──────────────────────────────────────────────────────────────────┐ - 1 │⠀⠠⠀⠀⢀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀│ > 0 -  │⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠈⠂⠀⠀⠀⠀⠀⠀⠀⠀⠑⠀⢀⠀⠀⠂⠀⠠⠀⡀⠠⠀⠀⠀⠀⠈⠐⡀⠀⠀⠀⠁⠀⠀⠁⢀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⢀│ < 0 - 192 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠈⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠁⠀⠀⠂⠄⠀⠀⠄⠀⠀⠀⠀⢀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠂⠚⠀⠀⠑⠀│  + 1 │⠀⠄⠀⠀⢀⠀⡀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠈⠂⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│ > 0 +  │⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠑⠀⢀⠀⠀⠂⠀⠠⠀⠄⠠⠀⠀⠀⠀⠈⠈⡀⠀⠀⠀⠁⠀⠀⠁⢀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⢀│ < 0 + 192 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠈⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠁⠀⠀⠡⠀⠀⠀⠄⠀⠀⠀⠀⢀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠂⠊⠀⠀⠑⠀│  └──────────────────────────────────────────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀1 982⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/default_200x200_normal.txt b/test/references_24/spy/default_200x200_normal.txt index b5d5e966..49dcec02 100644 --- a/test/references_24/spy/default_200x200_normal.txt +++ b/test/references_24/spy/default_200x200_normal.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ > 0 -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 -  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  -  │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 +  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  +  │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│   │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│  -  │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│  -  │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│  - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│  +  │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│  + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/default_200x200_normal_misshaped.txt b/test/references_24/spy/default_200x200_normal_misshaped.txt index 3ec28c1d..bf41f4c3 100644 --- a/test/references_24/spy/default_200x200_normal_misshaped.txt +++ b/test/references_24/spy/default_200x200_normal_misshaped.txt @@ -1,9 +1,9 @@ ┌────────────────────┐ - 1 │⠀⠀⠀⢀⠀⠀⠄⠀⠀⢀⠀⠆⢀⠈⠀⠀⠀⠀⠀⢀│ > 0 -  │⠀⠀⠁⡅⠀⠀⠀⠀⢂⠀⠠⠐⠀⠑⠀⠀⢁⠀⡀⠁│ < 0 -  │⠠⠀⠀⠀⠀⠁⠁⠀⠀⠠⠠⠀⠀⠐⠀⡀⢁⠀⡀⠂│  -  │⠀⠠⠄⠀⠀⠀⢀⢠⠀⠀⠀⠀⠄⠀⠈⠀⠂⠀⢀⠀│  - 200 │⠀⠀⠀⠀⠀⡀⠈⠀⡀⠁⠀⡀⡀⠀⠀⠀⠀⠀⠐⠂│  + 1 │⠀⠀⠀⢀⠀⠀⠄⠀⠀⢀⠀⠆⢀⠁⠀⠀⠀⠀⠀⣀│ > 0 +  │⠀⠈⠀⡅⠀⠀⠀⠀⠢⠀⠠⠂⠀⠑⠀⠀⢁⠀⡀⠁│ < 0 +  │⠄⠀⠀⠀⠀⠁⠁⠀⠀⠠⠠⠀⠀⠐⠀⡀⢁⠀⡀⠂│  +  │⠀⠄⠄⠀⠀⠀⠠⢠⠀⠀⠀⠀⠄⠀⠈⠀⠁⠀⡀⠀│  + 200 │⠀⠀⠀⠀⠀⡀⠈⠀⠄⠁⠀⡀⡀⠀⠀⠀⠀⠀⠂⠂│  └────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/default_200x200_normal_nocolor.txt b/test/references_24/spy/default_200x200_normal_nocolor.txt index 4e7ac0b0..cca2cc6c 100644 --- a/test/references_24/spy/default_200x200_normal_nocolor.txt +++ b/test/references_24/spy/default_200x200_normal_nocolor.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ > 0 - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 - │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ - │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 + │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ + │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│ │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│ - │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│ - │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│ - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│ + │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│ + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/default_200x200_normal_small.txt b/test/references_24/spy/default_200x200_normal_small.txt index 710ab614..3c50c060 100644 --- a/test/references_24/spy/default_200x200_normal_small.txt +++ b/test/references_24/spy/default_200x200_normal_small.txt @@ -1,9 +1,9 @@ ┌──────────┐ 1 │⠀⢀⠀⠄⢀⠰⡈⠀⠀⢀│ > 0 -  │⠀⢩⠀⠀⡂⠔⠘⠀⡁⡈│ < 0 +  │⠈⢨⠀⠀⠆⠔⠘⠀⡁⡈│ < 0  │⠄⠀⠈⠁⠠⠄⠐⢀⡁⡐│  -  │⠠⠄⠀⣠⠀⠀⠄⠁⠂⡀│  - 200 │⠀⠀⢀⠁⡈⢀⡀⠀⠀⠒│  +  │⠠⠄⠀⢤⠀⠀⠄⠁⠁⡀│  + 200 │⠀⠀⢀⠁⠌⢀⡀⠀⠀⠒│  └──────────┘ ⠀1⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀52 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/fix_aspect_ratio_80x80_.txt b/test/references_24/spy/fix_aspect_ratio_80x80_.txt index 99ef4f61..2a7d548a 100644 --- a/test/references_24/spy/fix_aspect_ratio_80x80_.txt +++ b/test/references_24/spy/fix_aspect_ratio_80x80_.txt @@ -1,15 +1,15 @@ ┌──────────────────────────────┐ - 1 │⡐⡐⠌⢄⡒⣠⠂⢑⢰⢁⢬⠡⡴⡀⢰⢣⢠⡀⢂⠄⠁⡤⡤⠜⣰⣀⡀⣁⠁⡂│ > 0 -  │⠰⠇⠾⠘⢃⠘⢉⢁⢈⢘⡇⣂⡐⠀⡀⠈⢈⢀⠇⢒⣃⠡⡈⢘⣁⠹⢐⠀⢄⡉│ < 0 -  │⢄⣄⢴⠐⠉⠘⠚⣝⡂⡘⢍⢆⠀⠄⠉⠀⠠⣹⠈⠆⡯⣶⢘⡀⣝⡐⢑⡯⣡⢂│  -  │⢂⣇⠴⠠⣠⢐⢈⡦⢀⢄⡄⡗⡪⡢⢲⢤⠆⠇⠀⢘⠄⡕⠳⠔⠎⠐⢀⡃⢒⡀│  -  │⠑⢝⢘⢂⠘⠘⢀⡮⠔⣡⡁⢐⢁⠁⡙⡊⡀⢑⠙⡊⠀⠁⢌⡁⢃⡂⡁⡉⠀⡂│  -  │⣔⠪⢼⠐⠤⡫⡉⢇⠩⣞⣃⠣⢘⢀⠆⠔⡁⡂⢢⠆⡁⢆⢡⢀⡓⢳⢐⡢⠹⠒│  -  │⠅⠔⡠⡉⢎⢉⠀⡉⢙⡔⣥⡌⠀⠈⠋⡠⠀⡅⠤⠐⡄⡄⡀⠅⠄⡳⡜⡉⡨⠁│  -  │⠈⡋⠌⡓⡣⢐⢝⡣⠖⢡⠦⠇⢰⢢⠓⢢⠘⡃⠆⢦⢁⠑⠎⢀⡡⠐⢷⡤⠸⠸│  -  │⢰⡂⠐⠘⢮⡼⣄⡂⠮⠄⠃⣅⡒⢀⡁⠨⠒⣬⢲⠤⣦⢭⠩⠠⠃⢤⠈⣎⣸⢔│  -  │⢕⢁⣌⣀⠄⡬⢐⠩⠀⣀⠇⢍⢭⠠⡏⢈⠠⠜⠘⣁⡦⡆⣀⢅⡁⣤⣖⣎⢀⢨│  - 80 │⡐⠨⠼⠨⣆⠤⡐⠂⢀⣘⠄⡒⠬⠄⡢⠶⠰⡁⠜⠒⠐⠊⠠⠘⠄⠩⠍⡀⠁⠁│  + 1 │⢆⠖⣡⢔⡣⢊⠈⡁⢮⡀⠇⢕⢣⠀⡟⠢⡄⣈⠤⢀⢁⢖⡴⡁⣧⢀⢀⡉⢰⡀│ > 0 +  │⠛⠓⠒⠋⡅⡉⡁⠄⠤⡉⡢⠥⠐⢀⡀⠈⠅⡐⣐⡩⡊⠢⡀⢇⡉⢋⡁⡐⠨⠀│ < 0 +  │⣦⡔⠱⠁⠀⠒⣋⣗⢀⠡⢝⡀⡠⠀⠀⠀⢄⡇⠐⡠⡷⣆⢡⠘⣧⠁⢕⡭⡰⡀│  +  │⠶⡖⢒⢂⠆⣢⡐⠄⡤⢴⠰⣛⢰⢂⡣⢼⠐⢂⢀⡕⢀⡍⠲⢢⠁⢂⢴⡐⢥⠀│  +  │⠃⡇⢱⡀⢃⢂⡬⢗⢊⣎⢄⡁⡠⢀⢉⢈⠈⠎⠺⢀⠀⢐⢨⠐⠼⢈⠀⣅⠨⠀│  +  │⡕⠒⡆⡁⣒⢊⠘⢆⡸⠎⠔⡅⠍⣠⡑⠨⢀⠒⠰⠠⠔⠆⡠⡐⣋⡴⣏⡂⢜⠂│  +  │⡒⠥⢘⠐⡁⠠⡠⠁⢬⠩⡖⡀⠀⠈⡡⠢⢠⠑⠢⠡⡠⢀⢨⠐⢈⢪⠁⢅⢘⠀│  +  │⠡⠡⠨⡊⠄⢸⠭⠳⠒⠎⠾⡁⠫⠄⡑⠴⠡⠒⠸⠆⠍⣓⣁⠄⡅⠛⡆⡆⢨⠃│  +  │⠾⠀⠂⠚⡷⡡⢌⡙⠕⠈⣠⢎⢂⢄⡄⠘⠢⡕⣟⠪⡦⡍⠰⠌⠱⠄⢰⡠⢣⡂│  +  │⡏⡠⣈⡐⠠⠡⠅⠄⠠⡄⠃⡽⠢⠤⠁⢁⠒⠃⢨⢄⠯⢀⣸⠄⢕⢮⡁⣅⢀⠇│  + 80 │⠅⠣⠚⠤⠗⠤⠒⠀⠠⠶⠰⠑⠸⠨⠶⠡⠢⠑⠚⠁⠑⠁⠠⠃⠌⠓⠡⠀⠈⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀80⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀975 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/flip_xflip-false_yflip-false.txt b/test/references_24/spy/flip_xflip-false_yflip-false.txt new file mode 100644 index 00000000..46ffd17c --- /dev/null +++ b/test/references_24/spy/flip_xflip-false_yflip-false.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 5 │⠀⠀⠀⠠⠀⠀⠀⠀⠀│ > 0 + 1 │⠀⡀⠈⠀⠀⠀⠀⠀⠂│ < 0 + └─────────┘ + ⠀1⠀⠀⠀⠀⠀⠀18⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/flip_xflip-false_yflip-true.txt b/test/references_24/spy/flip_xflip-false_yflip-true.txt new file mode 100644 index 00000000..3fbd8ed7 --- /dev/null +++ b/test/references_24/spy/flip_xflip-false_yflip-true.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 1 │⠀⠁⠀⠀⠀⠀⠀⠀⠄│ > 0 + 5 │⠀⠀⠈⠐⠀⠀⠀⠀⠀│ < 0 + └─────────┘ + ⠀1⠀⠀⠀⠀⠀⠀18⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/flip_xflip-true_yflip-false.txt b/test/references_24/spy/flip_xflip-true_yflip-false.txt new file mode 100644 index 00000000..908331c4 --- /dev/null +++ b/test/references_24/spy/flip_xflip-true_yflip-false.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 5 │⠀⠀⠀⠀⠀⠄⠀⠀⠀│ > 0 + 1 │⠐⠀⠀⠀⠀⠀⠁⢀⠀│ < 0 + └─────────┘ + ⠀18⠀⠀⠀⠀⠀⠀1⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/flip_xflip-true_yflip-true.txt b/test/references_24/spy/flip_xflip-true_yflip-true.txt new file mode 100644 index 00000000..e24afb89 --- /dev/null +++ b/test/references_24/spy/flip_xflip-true_yflip-true.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 1 │⠠⠀⠀⠀⠀⠀⠀⠈⠀│ > 0 + 5 │⠀⠀⠀⠀⠀⠂⠁⠀⠀│ < 0 + └─────────┘ + ⠀18⠀⠀⠀⠀⠀⠀1⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/parameters_200x200_dotcanvas.txt b/test/references_24/spy/parameters_200x200_dotcanvas.txt index ee10d222..3fba0285 100644 --- a/test/references_24/spy/parameters_200x200_dotcanvas.txt +++ b/test/references_24/spy/parameters_200x200_dotcanvas.txt @@ -1,19 +1,19 @@ Custom Title +------------------------------+ 1 | . | > 0 -  | ' | < 0 -  | ' ' ' ' . .|  -  | ' . . . . ' |  -  | . .' ' |  -  | . ' . . |  +  | . ' | < 0 +  | ' ' ' . .|  +  | ' . . . . ' |  +  | . . ' ' |  +  | ' ' . . |   | ' ' ' |  -  |. .. ' ' |  -  | ' . . . |  -  | ' . |  -  | . |  -  | ' ': ' . |  -  | ' . |  -  | '' |  +  |. ... ' ' |  +  | . . . |  +  | ' . |  +  | . . |  +  | ' '. ' . |  +  | ' . . |  +  | ' |  200 | . ' ' . |  +------------------------------+ 1  199 diff --git a/test/references_24/spy/parameters_200x200_green.txt b/test/references_24/spy/parameters_200x200_green.txt index c85ebccc..bb128c85 100644 --- a/test/references_24/spy/parameters_200x200_green.txt +++ b/test/references_24/spy/parameters_200x200_green.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ ≠ 0 -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  -  │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  +  │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│   │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│  -  │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│  -  │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│  - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│  +  │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│  + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/parameters_200x200_green_nocolor.txt b/test/references_24/spy/parameters_200x200_green_nocolor.txt index 57aac783..bbdf3b5b 100644 --- a/test/references_24/spy/parameters_200x200_green_nocolor.txt +++ b/test/references_24/spy/parameters_200x200_green_nocolor.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ ≠ 0 - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ - │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ + │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│ │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│ - │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│ - │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│ - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│ + │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│ + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_24/spy/parameters_200x200_zeros.txt b/test/references_24/spy/parameters_200x200_zeros.txt index 3defea8b..380fc6b2 100644 --- a/test/references_24/spy/parameters_200x200_zeros.txt +++ b/test/references_24/spy/parameters_200x200_zeros.txt @@ -1,18 +1,18 @@ ┌──────────────────────────────┐ - 1 │⠀⠀⢀⠀⡠⢀⡀⠀⠀⠐⠂⠀⠠⠌⠀⢠⠀⠀⠱⡀⠐⠡⠂⠀⠄⠂⠀⠀⢢⠈│ ⩵ 0 -  │⠀⠀⠐⡐⠀⠀⠈⠐⠀⠀⠀⠀⠀⠀⠢⠈⠈⠀⠐⠂⠀⠩⠅⠐⠀⠀⢀⠉⠐⠀│  -  │⢀⢀⠢⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠁⠨⢀⠄⢀⠂⠀⢂⡆⠔⠀⡄⠈⠁⠀⠄│  -  │⡘⠁⠄⠀⠀⢐⠁⡐⠔⠔⠂⠌⠁⠀⠐⠠⠁⢀⢄⠈⠂⠁⠈⠐⠐⠴⡀⠄⠠⡄│  -  │⡁⠀⠀⠀⠄⠀⠈⠀⠀⠁⠀⠠⡐⠤⠀⢈⠄⢀⠀⠀⢄⡀⠘⠂⡀⠀⣀⠈⠠⡀│  -  │⠠⠀⢐⠀⠐⠄⡀⠀⠄⠀⠄⠀⠁⠀⠀⡀⠂⠄⠀⡀⠄⡐⡠⢈⠐⠈⠐⠡⠀⠀│  -  │⠀⡊⢂⠀⠀⠀⠄⠄⠀⠄⡢⠀⠁⠀⠀⠈⠀⠀⠀⠨⠰⠀⠀⠀⠀⢈⠂⠄⠀⠰│  -  │⠀⠄⡠⠈⠂⠑⠁⠀⠈⢀⠁⡐⢁⠀⠀⠈⠁⠋⠀⡀⡀⠠⢀⡀⡀⠠⠀⠄⠀⡠│  -  │⡀⠀⠀⠀⠀⠀⢄⠑⠀⠀⠄⠐⠀⠎⠈⠀⠠⠀⠀⢁⠀⠀⢀⠀⠈⠂⠄⠈⠈⠀│  -  │⠀⠀⠈⠀⡂⠀⡐⠀⠀⠀⠀⠒⠀⠀⠒⡁⠐⠁⢈⠀⠀⠀⢄⡀⡂⠊⡀⠑⠀⠀│  -  │⠁⠀⢐⠁⠀⢀⠀⠈⠐⡀⠠⠁⠀⠀⠈⠈⠀⠉⠀⠀⠃⠀⡀⠀⠀⠀⠠⠂⠁⠁│  -  │⠀⠰⡆⠐⠀⡀⠂⠑⠀⠐⠀⠀⠄⠀⢂⠀⠀⠀⠀⠀⠀⠄⠈⠀⠪⢀⠀⠁⠀⠂│  -  │⠀⡂⠀⠁⠈⡀⠠⢳⠌⠢⠁⠀⣀⠀⠄⠀⠀⡅⠀⠁⠀⠀⠀⠀⠀⠀⠀⠨⡀⢈│  -  │⠂⠀⠀⠀⠁⠀⠂⡂⠄⠀⠀⠤⠉⠀⠠⠀⢀⠀⢈⠀⠁⠄⠀⠀⠀⠐⠀⠆⠀⠀│  - 200 │⠀⠢⠀⠀⠠⠀⡁⠨⠉⢀⠃⠀⠈⠀⠀⠀⡀⠔⢂⠀⠐⠐⠀⠀⠀⠀⠀⠅⠂⠀│  + 1 │⠀⠀⠄⢀⠠⢀⢀⠀⠀⠒⠀⠀⠰⠌⠀⠤⠀⠀⢑⠀⠈⣡⠂⠀⠄⠂⠀⠈⡄⠉│ ⩵ 0 +  │⠀⠀⠐⡐⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠒⠁⠈⠀⠐⠂⠀⠨⠄⠐⠀⠀⠄⠉⠐⠀│  +  │⡀⡠⠡⠂⠀⠀⡀⠀⠀⠀⠀⠂⠀⠀⠁⠅⠠⠂⡨⠀⠐⣈⢲⠐⠀⡄⠁⠁⠀⠄│  +  │⡘⠐⠂⠀⠀⢐⠀⡰⠨⠁⠁⠌⠁⠀⠁⡄⠁⡀⢄⠈⠁⠀⠀⠐⠂⠲⡐⠀⢠⠄│  +  │⠅⠀⠀⠀⠄⠀⠈⠀⠀⠁⠀⠠⡐⠠⠀⡐⠀⠄⠀⠀⢄⠄⠘⠁⡀⢀⢄⡁⠠⡀│  +  │⠠⢀⡐⠀⠐⠂⡀⠠⠀⠀⠂⠀⠀⠀⠀⢄⠁⠄⢀⠠⢀⠔⡠⢁⠐⢀⠐⠠⠀⠀│  +  │⠀⡂⢂⠀⠀⠀⠄⠄⠀⠄⠆⠀⡁⠀⠀⠀⠀⢀⠀⠌⠌⠀⠀⠀⠀⠨⠁⠂⠀⠂│  +  │⠠⠠⠠⠁⠂⠉⠁⠀⠈⡀⢁⠐⣀⠀⠀⠁⠉⠂⢀⠀⠄⠠⢄⢀⠀⠄⠠⠀⢀⠠│  +  │⡀⠀⠀⠀⠀⠠⢀⠉⠀⠀⠄⠐⠐⠌⠈⠀⠐⡀⠀⠅⠀⠀⢀⠀⠁⠂⢂⠈⠀⠀│  +  │⠀⠀⠈⠀⡁⠀⠔⢀⠀⠀⠀⠊⠀⠀⢒⠁⠐⠀⢁⠀⠀⠠⢀⡀⡒⠈⡀⢐⠀⡀│  +  │⠁⠀⠔⠁⠀⢀⠀⡀⠐⡀⠄⠁⠀⠀⠀⠈⠀⠉⠀⠀⠃⠀⡄⠀⠀⠀⢨⠀⠀⠁│  +  │⠀⢰⠄⠐⡀⡀⠂⠂⢀⠘⠀⠀⠄⠐⢀⠀⠀⡀⠀⡀⠀⠂⠁⠀⠃⠠⠀⠀⠀⠂│  +  │⠀⠆⠀⠁⡈⡀⠔⡕⠍⠐⠁⠀⡤⠀⠆⠀⠀⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠨⠄⢈│  +  │⠂⠀⠀⠀⠀⠐⠐⡀⠂⠀⡀⠄⠁⠀⠠⠀⢀⠀⠨⠀⠁⠄⠀⠀⠀⠈⠀⠆⠀⠀│  + 200 │⠐⠐⠀⠀⠠⠈⡀⠘⠈⠠⠁⠀⠁⠀⠀⠀⠤⠂⠢⠀⠐⠂⠀⠀⠀⠀⠠⠁⠂⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀392 ⩵ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀200⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_0x0.txt b/test/references_8/spy/default_0x0.txt index 47ef0d71..d15127d9 100644 --- a/test/references_8/spy/default_0x0.txt +++ b/test/references_8/spy/default_0x0.txt @@ -1,6 +1,6 @@ ┌─────┐ - 1 │⠀⠀⠀⠀⠀│ > 0 - 0 │⠀⠀⠀⠀⠀│ < 0 + 0 │⠀⠀⠀⠀⠀│ > 0 + 1 │⠀⠀⠀⠀⠀│ < 0 └─────┘ - ⠀1⠀⠀⠀0⠀ + ⠀0⠀⠀⠀1⠀ ⠀0 ≠ 0⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_10x10.txt b/test/references_8/spy/default_10x10.txt index aaf1ff66..396a1511 100644 --- a/test/references_8/spy/default_10x10.txt +++ b/test/references_8/spy/default_10x10.txt @@ -1,6 +1,6 @@ ┌─────┐ - 1 │⠀⡈⡆⠀⠔│ > 0 - 10 │⠡⠀⠂⣂⡀│ < 0 + 1 │⡠⠹⠀⠐⠁│ > 0 + 10 │⠂⠐⠰⠤⠀│ < 0 └─────┘ ⠀1⠀⠀10⠀ ⠀14 ≠ 0 \ No newline at end of file diff --git a/test/references_8/spy/default_10x15.txt b/test/references_8/spy/default_10x15.txt index 260b3de0..27582598 100644 --- a/test/references_8/spy/default_10x15.txt +++ b/test/references_8/spy/default_10x15.txt @@ -1,7 +1,7 @@ ┌────────┐ - 1 │⠀⠀⢢⠀⢀⠴⡀⣤│ > 0 -  │⠠⠐⠐⠀⠀⠀⠈⠐│ < 0 - 10 │⠀⠂⠈⠨⠤⠈⠂⠐│  + 1 │⠀⠈⠆⠀⠔⠣⡰⠆│ > 0 +  │⠂⠁⡁⡀⠀⡀⠀⠁│ < 0 + 10 │⠈⠀⠀⠒⠂⠈⠀⠁│  └────────┘ ⠀1⠀⠀⠀⠀⠀15⠀ ⠀⠀26 ≠ 0⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_15x10.txt b/test/references_8/spy/default_15x10.txt index 7775b180..4bc3ceba 100644 --- a/test/references_8/spy/default_15x10.txt +++ b/test/references_8/spy/default_15x10.txt @@ -1,8 +1,8 @@ ┌─────┐ - 1 │⠀⢂⠀⢄⠀│ > 0 -  │⠌⠀⠐⠀⢁│ < 0 -  │⠠⠀⠍⡈⠨│  - 15 │⠀⡃⢀⠡⠣│  + 1 │⡈⠄⠐⢄⠀│ > 0 +  │⠂⢀⡁⡀⡄│ < 0 +  │⢂⠐⢠⢀⠂│  + 15 │⠨⠀⠄⠊⠂│  └─────┘ ⠀1⠀⠀10⠀ ⠀26 ≠ 0 \ No newline at end of file diff --git a/test/references_8/spy/default_2000x200.txt b/test/references_8/spy/default_2000x200.txt index a94d07f1..21041b90 100644 --- a/test/references_8/spy/default_2000x200.txt +++ b/test/references_8/spy/default_2000x200.txt @@ -2,7 +2,7 @@ 1 │⠀⠁⠀⠂⠀│ > 0  │⠀⠀⠐⠀⠀│ < 0  │⠠⠈⠌⡀⠰│  -  │⢠⠀⠀⠄⠌│  +  │⢄⠀⠀⠄⠌│   │⠀⠀⢉⠁⠀│   │⢈⠀⠂⠀⢄│   │⠀⠢⠀⠀⠂│  diff --git a/test/references_8/spy/default_200x2000.txt b/test/references_8/spy/default_200x2000.txt index 1dd68b3e..47135fe5 100644 --- a/test/references_8/spy/default_200x2000.txt +++ b/test/references_8/spy/default_200x2000.txt @@ -1,7 +1,7 @@ ┌──────────────────────────────────────────────────────────────────┐ - 1 │⠀⠠⠀⠀⢀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀│ > 0 -  │⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠈⠂⠀⠀⠀⠀⠀⠀⠀⠀⠑⠀⢀⠀⠀⠂⠀⠠⠀⡀⠠⠀⠀⠀⠀⠈⠐⡀⠀⠀⠀⠁⠀⠀⠁⢀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⢀│ < 0 - 192 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠈⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠁⠀⠀⠂⠄⠀⠀⠄⠀⠀⠀⠀⢀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠂⠚⠀⠀⠑⠀│  + 1 │⠀⠄⠀⠀⢀⠀⡀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠈⠂⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│ > 0 +  │⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠑⠀⢀⠀⠀⠂⠀⠠⠀⠄⠠⠀⠀⠀⠀⠈⠈⡀⠀⠀⠀⠁⠀⠀⠁⢀⠀⠀⠀⠀⠀⠀⠀⠀⠃⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⢀│ < 0 + 192 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠈⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠄⠁⠀⠀⠡⠀⠀⠀⠄⠀⠀⠀⠀⢀⠀⠀⠀⠀⠉⠀⠀⠀⠀⠂⠊⠀⠀⠑⠀│  └──────────────────────────────────────────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀1 982⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_200x200_normal.txt b/test/references_8/spy/default_200x200_normal.txt index b5d5e966..49dcec02 100644 --- a/test/references_8/spy/default_200x200_normal.txt +++ b/test/references_8/spy/default_200x200_normal.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ > 0 -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 -  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  -  │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 +  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  +  │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│   │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│  -  │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│  -  │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│  - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│  +  │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│  + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_200x200_normal_misshaped.txt b/test/references_8/spy/default_200x200_normal_misshaped.txt index 3ec28c1d..bf41f4c3 100644 --- a/test/references_8/spy/default_200x200_normal_misshaped.txt +++ b/test/references_8/spy/default_200x200_normal_misshaped.txt @@ -1,9 +1,9 @@ ┌────────────────────┐ - 1 │⠀⠀⠀⢀⠀⠀⠄⠀⠀⢀⠀⠆⢀⠈⠀⠀⠀⠀⠀⢀│ > 0 -  │⠀⠀⠁⡅⠀⠀⠀⠀⢂⠀⠠⠐⠀⠑⠀⠀⢁⠀⡀⠁│ < 0 -  │⠠⠀⠀⠀⠀⠁⠁⠀⠀⠠⠠⠀⠀⠐⠀⡀⢁⠀⡀⠂│  -  │⠀⠠⠄⠀⠀⠀⢀⢠⠀⠀⠀⠀⠄⠀⠈⠀⠂⠀⢀⠀│  - 200 │⠀⠀⠀⠀⠀⡀⠈⠀⡀⠁⠀⡀⡀⠀⠀⠀⠀⠀⠐⠂│  + 1 │⠀⠀⠀⢀⠀⠀⠄⠀⠀⢀⠀⠆⢀⠁⠀⠀⠀⠀⠀⣀│ > 0 +  │⠀⠈⠀⡅⠀⠀⠀⠀⠢⠀⠠⠂⠀⠑⠀⠀⢁⠀⡀⠁│ < 0 +  │⠄⠀⠀⠀⠀⠁⠁⠀⠀⠠⠠⠀⠀⠐⠀⡀⢁⠀⡀⠂│  +  │⠀⠄⠄⠀⠀⠀⠠⢠⠀⠀⠀⠀⠄⠀⠈⠀⠁⠀⡀⠀│  + 200 │⠀⠀⠀⠀⠀⡀⠈⠀⠄⠁⠀⡀⡀⠀⠀⠀⠀⠀⠂⠂│  └────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_200x200_normal_nocolor.txt b/test/references_8/spy/default_200x200_normal_nocolor.txt index 4e7ac0b0..cca2cc6c 100644 --- a/test/references_8/spy/default_200x200_normal_nocolor.txt +++ b/test/references_8/spy/default_200x200_normal_nocolor.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ > 0 - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 - │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ - │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ < 0 + │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ + │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│ │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│ - │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│ - │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│ - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│ + │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│ + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/default_200x200_normal_small.txt b/test/references_8/spy/default_200x200_normal_small.txt index 710ab614..3c50c060 100644 --- a/test/references_8/spy/default_200x200_normal_small.txt +++ b/test/references_8/spy/default_200x200_normal_small.txt @@ -1,9 +1,9 @@ ┌──────────┐ 1 │⠀⢀⠀⠄⢀⠰⡈⠀⠀⢀│ > 0 -  │⠀⢩⠀⠀⡂⠔⠘⠀⡁⡈│ < 0 +  │⠈⢨⠀⠀⠆⠔⠘⠀⡁⡈│ < 0  │⠄⠀⠈⠁⠠⠄⠐⢀⡁⡐│  -  │⠠⠄⠀⣠⠀⠀⠄⠁⠂⡀│  - 200 │⠀⠀⢀⠁⡈⢀⡀⠀⠀⠒│  +  │⠠⠄⠀⢤⠀⠀⠄⠁⠁⡀│  + 200 │⠀⠀⢀⠁⠌⢀⡀⠀⠀⠒│  └──────────┘ ⠀1⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀52 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/fix_aspect_ratio_80x80_.txt b/test/references_8/spy/fix_aspect_ratio_80x80_.txt index 99ef4f61..2a7d548a 100644 --- a/test/references_8/spy/fix_aspect_ratio_80x80_.txt +++ b/test/references_8/spy/fix_aspect_ratio_80x80_.txt @@ -1,15 +1,15 @@ ┌──────────────────────────────┐ - 1 │⡐⡐⠌⢄⡒⣠⠂⢑⢰⢁⢬⠡⡴⡀⢰⢣⢠⡀⢂⠄⠁⡤⡤⠜⣰⣀⡀⣁⠁⡂│ > 0 -  │⠰⠇⠾⠘⢃⠘⢉⢁⢈⢘⡇⣂⡐⠀⡀⠈⢈⢀⠇⢒⣃⠡⡈⢘⣁⠹⢐⠀⢄⡉│ < 0 -  │⢄⣄⢴⠐⠉⠘⠚⣝⡂⡘⢍⢆⠀⠄⠉⠀⠠⣹⠈⠆⡯⣶⢘⡀⣝⡐⢑⡯⣡⢂│  -  │⢂⣇⠴⠠⣠⢐⢈⡦⢀⢄⡄⡗⡪⡢⢲⢤⠆⠇⠀⢘⠄⡕⠳⠔⠎⠐⢀⡃⢒⡀│  -  │⠑⢝⢘⢂⠘⠘⢀⡮⠔⣡⡁⢐⢁⠁⡙⡊⡀⢑⠙⡊⠀⠁⢌⡁⢃⡂⡁⡉⠀⡂│  -  │⣔⠪⢼⠐⠤⡫⡉⢇⠩⣞⣃⠣⢘⢀⠆⠔⡁⡂⢢⠆⡁⢆⢡⢀⡓⢳⢐⡢⠹⠒│  -  │⠅⠔⡠⡉⢎⢉⠀⡉⢙⡔⣥⡌⠀⠈⠋⡠⠀⡅⠤⠐⡄⡄⡀⠅⠄⡳⡜⡉⡨⠁│  -  │⠈⡋⠌⡓⡣⢐⢝⡣⠖⢡⠦⠇⢰⢢⠓⢢⠘⡃⠆⢦⢁⠑⠎⢀⡡⠐⢷⡤⠸⠸│  -  │⢰⡂⠐⠘⢮⡼⣄⡂⠮⠄⠃⣅⡒⢀⡁⠨⠒⣬⢲⠤⣦⢭⠩⠠⠃⢤⠈⣎⣸⢔│  -  │⢕⢁⣌⣀⠄⡬⢐⠩⠀⣀⠇⢍⢭⠠⡏⢈⠠⠜⠘⣁⡦⡆⣀⢅⡁⣤⣖⣎⢀⢨│  - 80 │⡐⠨⠼⠨⣆⠤⡐⠂⢀⣘⠄⡒⠬⠄⡢⠶⠰⡁⠜⠒⠐⠊⠠⠘⠄⠩⠍⡀⠁⠁│  + 1 │⢆⠖⣡⢔⡣⢊⠈⡁⢮⡀⠇⢕⢣⠀⡟⠢⡄⣈⠤⢀⢁⢖⡴⡁⣧⢀⢀⡉⢰⡀│ > 0 +  │⠛⠓⠒⠋⡅⡉⡁⠄⠤⡉⡢⠥⠐⢀⡀⠈⠅⡐⣐⡩⡊⠢⡀⢇⡉⢋⡁⡐⠨⠀│ < 0 +  │⣦⡔⠱⠁⠀⠒⣋⣗⢀⠡⢝⡀⡠⠀⠀⠀⢄⡇⠐⡠⡷⣆⢡⠘⣧⠁⢕⡭⡰⡀│  +  │⠶⡖⢒⢂⠆⣢⡐⠄⡤⢴⠰⣛⢰⢂⡣⢼⠐⢂⢀⡕⢀⡍⠲⢢⠁⢂⢴⡐⢥⠀│  +  │⠃⡇⢱⡀⢃⢂⡬⢗⢊⣎⢄⡁⡠⢀⢉⢈⠈⠎⠺⢀⠀⢐⢨⠐⠼⢈⠀⣅⠨⠀│  +  │⡕⠒⡆⡁⣒⢊⠘⢆⡸⠎⠔⡅⠍⣠⡑⠨⢀⠒⠰⠠⠔⠆⡠⡐⣋⡴⣏⡂⢜⠂│  +  │⡒⠥⢘⠐⡁⠠⡠⠁⢬⠩⡖⡀⠀⠈⡡⠢⢠⠑⠢⠡⡠⢀⢨⠐⢈⢪⠁⢅⢘⠀│  +  │⠡⠡⠨⡊⠄⢸⠭⠳⠒⠎⠾⡁⠫⠄⡑⠴⠡⠒⠸⠆⠍⣓⣁⠄⡅⠛⡆⡆⢨⠃│  +  │⠾⠀⠂⠚⡷⡡⢌⡙⠕⠈⣠⢎⢂⢄⡄⠘⠢⡕⣟⠪⡦⡍⠰⠌⠱⠄⢰⡠⢣⡂│  +  │⡏⡠⣈⡐⠠⠡⠅⠄⠠⡄⠃⡽⠢⠤⠁⢁⠒⠃⢨⢄⠯⢀⣸⠄⢕⢮⡁⣅⢀⠇│  + 80 │⠅⠣⠚⠤⠗⠤⠒⠀⠠⠶⠰⠑⠸⠨⠶⠡⠢⠑⠚⠁⠑⠁⠠⠃⠌⠓⠡⠀⠈⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀80⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀975 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/flip_xflip-false_yflip-false.txt b/test/references_8/spy/flip_xflip-false_yflip-false.txt new file mode 100644 index 00000000..46ffd17c --- /dev/null +++ b/test/references_8/spy/flip_xflip-false_yflip-false.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 5 │⠀⠀⠀⠠⠀⠀⠀⠀⠀│ > 0 + 1 │⠀⡀⠈⠀⠀⠀⠀⠀⠂│ < 0 + └─────────┘ + ⠀1⠀⠀⠀⠀⠀⠀18⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/flip_xflip-false_yflip-true.txt b/test/references_8/spy/flip_xflip-false_yflip-true.txt new file mode 100644 index 00000000..3fbd8ed7 --- /dev/null +++ b/test/references_8/spy/flip_xflip-false_yflip-true.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 1 │⠀⠁⠀⠀⠀⠀⠀⠀⠄│ > 0 + 5 │⠀⠀⠈⠐⠀⠀⠀⠀⠀│ < 0 + └─────────┘ + ⠀1⠀⠀⠀⠀⠀⠀18⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/flip_xflip-true_yflip-false.txt b/test/references_8/spy/flip_xflip-true_yflip-false.txt new file mode 100644 index 00000000..908331c4 --- /dev/null +++ b/test/references_8/spy/flip_xflip-true_yflip-false.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 5 │⠀⠀⠀⠀⠀⠄⠀⠀⠀│ > 0 + 1 │⠐⠀⠀⠀⠀⠀⠁⢀⠀│ < 0 + └─────────┘ + ⠀18⠀⠀⠀⠀⠀⠀1⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/flip_xflip-true_yflip-true.txt b/test/references_8/spy/flip_xflip-true_yflip-true.txt new file mode 100644 index 00000000..e24afb89 --- /dev/null +++ b/test/references_8/spy/flip_xflip-true_yflip-true.txt @@ -0,0 +1,6 @@ + ┌─────────┐ + 1 │⠠⠀⠀⠀⠀⠀⠀⠈⠀│ > 0 + 5 │⠀⠀⠀⠀⠀⠂⠁⠀⠀│ < 0 + └─────────┘ + ⠀18⠀⠀⠀⠀⠀⠀1⠀ + ⠀⠀⠀4 ≠ 0⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/parameters_200x200_dotcanvas.txt b/test/references_8/spy/parameters_200x200_dotcanvas.txt index ee10d222..3fba0285 100644 --- a/test/references_8/spy/parameters_200x200_dotcanvas.txt +++ b/test/references_8/spy/parameters_200x200_dotcanvas.txt @@ -1,19 +1,19 @@ Custom Title +------------------------------+ 1 | . | > 0 -  | ' | < 0 -  | ' ' ' ' . .|  -  | ' . . . . ' |  -  | . .' ' |  -  | . ' . . |  +  | . ' | < 0 +  | ' ' ' . .|  +  | ' . . . . ' |  +  | . . ' ' |  +  | ' ' . . |   | ' ' ' |  -  |. .. ' ' |  -  | ' . . . |  -  | ' . |  -  | . |  -  | ' ': ' . |  -  | ' . |  -  | '' |  +  |. ... ' ' |  +  | . . . |  +  | ' . |  +  | . . |  +  | ' '. ' . |  +  | ' . . |  +  | ' |  200 | . ' ' . |  +------------------------------+ 1  199 diff --git a/test/references_8/spy/parameters_200x200_green.txt b/test/references_8/spy/parameters_200x200_green.txt index c85ebccc..bb128c85 100644 --- a/test/references_8/spy/parameters_200x200_green.txt +++ b/test/references_8/spy/parameters_200x200_green.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ ≠ 0 -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  -  │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│  +  │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│   │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│  -  │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│  -  │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  -  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│  - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│  +  │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  +  │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│  +  │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│  + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/parameters_200x200_green_nocolor.txt b/test/references_8/spy/parameters_200x200_green_nocolor.txt index 57aac783..bbdf3b5b 100644 --- a/test/references_8/spy/parameters_200x200_green_nocolor.txt +++ b/test/references_8/spy/parameters_200x200_green_nocolor.txt @@ -1,19 +1,19 @@ ┌──────────────────────────────┐ 1 │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀│ ≠ 0 - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠁⠀⠀⠀⠀⠐⠀⠈⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ - │⠀⠀⠀⠂⠀⠄⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠠⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⢀⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠐⠀⠈⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠│ + │⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠀⠀⠄⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠁⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀⠄⠀⠀│ │⠀⠀⠀⠀⠀⠀⠀⠈⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀│ - │⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢀⠀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⡀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠂⠀⡀⠀⠀⠀⠀⠀│ - │⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠂⡁⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ - │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠈⠀│ - 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠐⠀⠀⠀⠐⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠠⡀⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠈⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠄⠀⠄⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠄⠀⠀⠀⠀⠀│ + │⠀⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ + │⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠁⡀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠠⠀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀│ + │⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀│ + 200 │⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠁⠀⠀⠀⠐⠀⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀│ └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀199⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀52 ≠ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \ No newline at end of file diff --git a/test/references_8/spy/parameters_200x200_zeros.txt b/test/references_8/spy/parameters_200x200_zeros.txt index 3defea8b..380fc6b2 100644 --- a/test/references_8/spy/parameters_200x200_zeros.txt +++ b/test/references_8/spy/parameters_200x200_zeros.txt @@ -1,18 +1,18 @@ ┌──────────────────────────────┐ - 1 │⠀⠀⢀⠀⡠⢀⡀⠀⠀⠐⠂⠀⠠⠌⠀⢠⠀⠀⠱⡀⠐⠡⠂⠀⠄⠂⠀⠀⢢⠈│ ⩵ 0 -  │⠀⠀⠐⡐⠀⠀⠈⠐⠀⠀⠀⠀⠀⠀⠢⠈⠈⠀⠐⠂⠀⠩⠅⠐⠀⠀⢀⠉⠐⠀│  -  │⢀⢀⠢⠂⠀⠀⠀⠀⠀⠀⠀⠐⠀⠀⠁⠨⢀⠄⢀⠂⠀⢂⡆⠔⠀⡄⠈⠁⠀⠄│  -  │⡘⠁⠄⠀⠀⢐⠁⡐⠔⠔⠂⠌⠁⠀⠐⠠⠁⢀⢄⠈⠂⠁⠈⠐⠐⠴⡀⠄⠠⡄│  -  │⡁⠀⠀⠀⠄⠀⠈⠀⠀⠁⠀⠠⡐⠤⠀⢈⠄⢀⠀⠀⢄⡀⠘⠂⡀⠀⣀⠈⠠⡀│  -  │⠠⠀⢐⠀⠐⠄⡀⠀⠄⠀⠄⠀⠁⠀⠀⡀⠂⠄⠀⡀⠄⡐⡠⢈⠐⠈⠐⠡⠀⠀│  -  │⠀⡊⢂⠀⠀⠀⠄⠄⠀⠄⡢⠀⠁⠀⠀⠈⠀⠀⠀⠨⠰⠀⠀⠀⠀⢈⠂⠄⠀⠰│  -  │⠀⠄⡠⠈⠂⠑⠁⠀⠈⢀⠁⡐⢁⠀⠀⠈⠁⠋⠀⡀⡀⠠⢀⡀⡀⠠⠀⠄⠀⡠│  -  │⡀⠀⠀⠀⠀⠀⢄⠑⠀⠀⠄⠐⠀⠎⠈⠀⠠⠀⠀⢁⠀⠀⢀⠀⠈⠂⠄⠈⠈⠀│  -  │⠀⠀⠈⠀⡂⠀⡐⠀⠀⠀⠀⠒⠀⠀⠒⡁⠐⠁⢈⠀⠀⠀⢄⡀⡂⠊⡀⠑⠀⠀│  -  │⠁⠀⢐⠁⠀⢀⠀⠈⠐⡀⠠⠁⠀⠀⠈⠈⠀⠉⠀⠀⠃⠀⡀⠀⠀⠀⠠⠂⠁⠁│  -  │⠀⠰⡆⠐⠀⡀⠂⠑⠀⠐⠀⠀⠄⠀⢂⠀⠀⠀⠀⠀⠀⠄⠈⠀⠪⢀⠀⠁⠀⠂│  -  │⠀⡂⠀⠁⠈⡀⠠⢳⠌⠢⠁⠀⣀⠀⠄⠀⠀⡅⠀⠁⠀⠀⠀⠀⠀⠀⠀⠨⡀⢈│  -  │⠂⠀⠀⠀⠁⠀⠂⡂⠄⠀⠀⠤⠉⠀⠠⠀⢀⠀⢈⠀⠁⠄⠀⠀⠀⠐⠀⠆⠀⠀│  - 200 │⠀⠢⠀⠀⠠⠀⡁⠨⠉⢀⠃⠀⠈⠀⠀⠀⡀⠔⢂⠀⠐⠐⠀⠀⠀⠀⠀⠅⠂⠀│  + 1 │⠀⠀⠄⢀⠠⢀⢀⠀⠀⠒⠀⠀⠰⠌⠀⠤⠀⠀⢑⠀⠈⣡⠂⠀⠄⠂⠀⠈⡄⠉│ ⩵ 0 +  │⠀⠀⠐⡐⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠒⠁⠈⠀⠐⠂⠀⠨⠄⠐⠀⠀⠄⠉⠐⠀│  +  │⡀⡠⠡⠂⠀⠀⡀⠀⠀⠀⠀⠂⠀⠀⠁⠅⠠⠂⡨⠀⠐⣈⢲⠐⠀⡄⠁⠁⠀⠄│  +  │⡘⠐⠂⠀⠀⢐⠀⡰⠨⠁⠁⠌⠁⠀⠁⡄⠁⡀⢄⠈⠁⠀⠀⠐⠂⠲⡐⠀⢠⠄│  +  │⠅⠀⠀⠀⠄⠀⠈⠀⠀⠁⠀⠠⡐⠠⠀⡐⠀⠄⠀⠀⢄⠄⠘⠁⡀⢀⢄⡁⠠⡀│  +  │⠠⢀⡐⠀⠐⠂⡀⠠⠀⠀⠂⠀⠀⠀⠀⢄⠁⠄⢀⠠⢀⠔⡠⢁⠐⢀⠐⠠⠀⠀│  +  │⠀⡂⢂⠀⠀⠀⠄⠄⠀⠄⠆⠀⡁⠀⠀⠀⠀⢀⠀⠌⠌⠀⠀⠀⠀⠨⠁⠂⠀⠂│  +  │⠠⠠⠠⠁⠂⠉⠁⠀⠈⡀⢁⠐⣀⠀⠀⠁⠉⠂⢀⠀⠄⠠⢄⢀⠀⠄⠠⠀⢀⠠│  +  │⡀⠀⠀⠀⠀⠠⢀⠉⠀⠀⠄⠐⠐⠌⠈⠀⠐⡀⠀⠅⠀⠀⢀⠀⠁⠂⢂⠈⠀⠀│  +  │⠀⠀⠈⠀⡁⠀⠔⢀⠀⠀⠀⠊⠀⠀⢒⠁⠐⠀⢁⠀⠀⠠⢀⡀⡒⠈⡀⢐⠀⡀│  +  │⠁⠀⠔⠁⠀⢀⠀⡀⠐⡀⠄⠁⠀⠀⠀⠈⠀⠉⠀⠀⠃⠀⡄⠀⠀⠀⢨⠀⠀⠁│  +  │⠀⢰⠄⠐⡀⡀⠂⠂⢀⠘⠀⠀⠄⠐⢀⠀⠀⡀⠀⡀⠀⠂⠁⠀⠃⠠⠀⠀⠀⠂│  +  │⠀⠆⠀⠁⡈⡀⠔⡕⠍⠐⠁⠀⡤⠀⠆⠀⠀⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠨⠄⢈│  +  │⠂⠀⠀⠀⠀⠐⠐⡀⠂⠀⡀⠄⠁⠀⠠⠀⢀⠀⠨⠀⠁⠄⠀⠀⠀⠈⠀⠆⠀⠀│  + 200 │⠐⠐⠀⠀⠠⠈⡀⠘⠈⠠⠁⠀⠁⠀⠀⠀⠤⠂⠢⠀⠐⠂⠀⠀⠀⠀⠠⠁⠂⠀│  └──────────────────────────────┘ ⠀1⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀392 ⩵ 0⠀⠀⠀⠀⠀⠀⠀⠀⠀200⠀ \ No newline at end of file diff --git a/test/tst_io.jl b/test/tst_io.jl index 414ada2f..79ae3d17 100644 --- a/test/tst_io.jl +++ b/test/tst_io.jl @@ -60,13 +60,13 @@ end p = heatmap(collect(1:30) * collect(1:30)') @test string(p; color = true) isa String # 1st pass - ttfp - measure = Sys.islinux() && VERSION > v"1.9.0" && length(VERSION.prerelease) < 2 + measure = Sys.islinux() && VERSION > v"1.10.0" && length(VERSION.prerelease) < 2 if measure GC.enable(false) stats = @timed string(p; color = true) # repeated ! - @test stats.bytes / 1e3 < 400 # ~ 374kB on 1.9 - @test stats.time * 1e3 < 1 # ~ 0.3ms on 1.9 + @test stats.bytes / 1e3 < 400 # ~ 356kB on 1.10 + @test stats.time * 1e3 < 0.5 # ~ 0.3ms on 1.10 GC.enable(true) end @@ -77,8 +77,8 @@ end if measure GC.enable(false) stats = @timed string(p; color = true) # repeated ! - @test stats.bytes / 1e3 < 160 # ~ 152kB on 1.9 - @test stats.time * 1e3 < 0.5 # ~ 0.16ms on 1.9 + @test stats.bytes / 1e3 < 160 # ~ 152kB on 1.10 + @test stats.time * 1e3 < 0.5 # ~ 0.26ms on 1.10 GC.enable(true) end end diff --git a/test/tst_issues.jl b/test/tst_issues.jl index 18289cfe..464c6ecf 100644 --- a/test/tst_issues.jl +++ b/test/tst_issues.jl @@ -24,7 +24,7 @@ [0], colorbar = true, colormap = :cividis, - width = 0, + width = -1, margin = 0, padding = 0, ) diff --git a/test/tst_plot.jl b/test/tst_plot.jl index df607734..817e4a2c 100644 --- a/test/tst_plot.jl +++ b/test/tst_plot.jl @@ -22,7 +22,7 @@ end @testset "invisible" begin - p = Plot([0], [0], width = 0) + p = Plot([0], [0], width = -1) @test !p.graphics.visible end diff --git a/test/tst_spy.jl b/test/tst_spy.jl index 18457b17..29cf6a22 100644 --- a/test/tst_spy.jl +++ b/test/tst_spy.jl @@ -68,3 +68,16 @@ end p = spy(_stable_sprand(RNG, 200, 200, 0.99), show_zeros = true, compact = true) test_ref("spy/parameters_200x200_zeros.txt", @show_col(p, :displaysize => T_SZ)) end + +@testset "flip" begin + I = [1, 4, 3, 5] + J = [4, 7, 18, 9] + V = [1, 2, -5, 3] + A = sparse(I, J, V) + for xflip ∈ (true, false), yflip ∈ (true, false) + test_ref( + "spy/flip_xflip-$(xflip)_yflip-$(yflip).txt", + @show_col(spy(A; xflip, yflip), :displaysize => T_SZ) + ) + end +end