Skip to content

Commit

Permalink
test basicf
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki committed Jan 18, 2024
1 parent 3ce9dc2 commit 960f457
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ using Test

y = [1,2,3,4,5,6,7,8,9,10]
z = rand(8, 2)

# @testset "----- Testing armagarchf -----" begin
# y = rand(25)
# val = Ahead.armagarchf(y, h=6)
Expand All @@ -13,6 +14,13 @@ using Test
# @test val[:method] == "ARMA(1, 1) - GARCH(1, 1)"
# end

@testset "----- Testing basicf -----" begin
val = Ahead.basicf(z, h=4)
println(val)
@test val[:x] == z
@test val[:method] == "basicf"
end

@testset "----- Testing dynrmf -----" begin
val = Ahead.dynrmf(y, h=6)
println(val)
Expand Down

0 comments on commit 960f457

Please sign in to comment.