Skip to content

Commit

Permalink
change type of some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Jun 10, 2024
1 parent 6e4d890 commit a1a100e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EpiAware/test/EpiAwareUtils/generate_epiware.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
gen = generated_quantities(test_mdl, rand(test_mdl))

#Check model sampled
@test eltype(gen.generated_y_t) <: Int
@test eltype(gen.generated_y_t) <: Union{Missing, Real}
@test eltype(gen.I_t) <: AbstractFloat
@test length(gen.I_t) == time_horizon
end
Expand Down Expand Up @@ -70,7 +70,7 @@ end
gens = generated_quantities(test_mdl, chn)

#Check model sampled
@test eltype(gens[1].generated_y_t) <: Int
@test eltype(gens[1].generated_y_t) <: Union{Missing, Real}
@test eltype(gens[1].I_t) <: AbstractFloat
@test length(gens[1].I_t) == time_horizon
end
Expand Down Expand Up @@ -110,7 +110,7 @@ end
gens = generated_quantities(test_mdl, chn)

#Check model sampled
@test eltype(gens[1].generated_y_t) <: Int
@test eltype(gens[1].generated_y_t) <: Union{Missing, Real}
@test eltype(gens[1].I_t) <: AbstractFloat
@test length(gens[1].I_t) == time_horizon
end

0 comments on commit a1a100e

Please sign in to comment.