using Test
using AutomotiveSimulator
using DataFrames
using Distributions

@testset "Vec" begin 
    include("vec-tests/vec_runtests.jl")
end

@testset "AutomotiveSimulator" begin 
    include("test_roadways.jl")
    include("test_agent_definitions.jl")
    include("test_scenes.jl")
    include("test_states.jl")
    include("test_collision_checkers.jl")
    include("test_actions.jl")
    include("test_features.jl")
    include("test_behaviors.jl")
    include("test_simulation.jl")
end

# Restore after AutomotiveVisualization v0.9 is tagged
@testset "doc tutorials" begin
    @testset "basics" begin
        include("../docs/lit/tutorials/straight_roadway.jl")
    end
    @testset "cameras" begin
        include("../docs/lit/tutorials/stadium.jl")
    end
    @testset "overlays" begin
        include("../docs/lit/tutorials/intersection.jl")
    end
    @testset "basics" begin
        include("../docs/lit/tutorials/crosswalk.jl")
    end
    @testset "basics" begin
        include("../docs/lit/tutorials/sidewalk.jl")
    end
end
