forked from MakieOrg/Makie.jl
/
runtests.jl
42 lines (39 loc) · 1.05 KB
/
runtests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using Test
using Makie
using Makie.Observables
using Makie.GeometryBasics
using Makie.PlotUtils
using Makie.FileIO
using Makie.IntervalSets
using GeometryBasics: Pyramid
using Makie: volume
@testset "Unit tests" begin
@testset "#659 Volume errors if data is not a cube" begin
fig, ax, vplot = volume(1:8, 1:8, 1:10, rand(8, 8, 10))
lims = Makie.data_limits(vplot)
lo, hi = extrema(lims)
@test all(lo .<= 1)
@test all(hi .>= (8,8,10))
end
include("deprecated.jl")
include("specapi.jl")
include("primitives.jl")
include("pipeline.jl")
include("record.jl")
include("scenes.jl")
include("conversions.jl")
include("quaternions.jl")
include("projection_math.jl")
include("liftmacro.jl")
include("makielayout.jl")
include("figures.jl")
include("transformations.jl")
include("events.jl")
include("text.jl")
include("boundingboxes.jl")
include("ray_casting.jl")
include("PolarAxis.jl")
include("barplot.jl")
include("bezier.jl")
include("hist.jl")
end