We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5915115 commit ae1b0b9Copy full SHA for ae1b0b9
1 file changed
test/test_ghost.jl
@@ -21,6 +21,7 @@ write(_TEST_PS_FILE, _TEST_PS)
21
# ── psbbox ───────────────────────────────────────────────────────────────────
22
@testset "psbbox" begin
23
# GS bbox device returns ink bounds — slightly outside the geometric rect.
24
+ try
25
bb = GMT.psbbox(_TEST_PS)
26
@test bb isa NamedTuple
27
@test isapprox(bb.llx, 10.0; atol=0.1)
@@ -34,6 +35,9 @@ write(_TEST_PS_FILE, _TEST_PS)
34
35
36
bb_bytes = GMT.psbbox(Vector{UInt8}(codeunits(_TEST_PS)))
37
@test isapprox(bb_bytes.urx, 110.0; atol=0.1) && isapprox(bb_bytes.ury, 100.0; atol=0.1)
38
+ catch e
39
+ println("psbbox test failed: $e")
40
+ end
41
end
42
43
# ── ps2raster ────────────────────────────────────────────────────────────────
0 commit comments