Skip to content

Commit

Permalink
enable inplace tests (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
prbzrg authored May 18, 2024
1 parent 241c67d commit 07b9a64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions test/call_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,6 @@ Test.@testset "Call Tests" begin
Test.@test !isnothing(rand(d))
Test.@test !isnothing(rand(d, ndata))

if (GROUP != "All") && inplace
continue
end

Test.@testset "$(typeof(adb).name.name)" for adb in adb_list
Test.@testset "Loss" begin
Test.@testset "ps" begin
Expand Down
8 changes: 0 additions & 8 deletions test/fit_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ Test.@testset "Fit Tests" begin
model = ContinuousNormalizingFlows.CondICNFModel(icnf; n_epochs, adtype)
mach = MLJBase.machine(model, (df, df2))

if (GROUP != "All") && inplace
continue
end

Test.@test !isnothing(MLJBase.fit!(mach))
Test.@test !isnothing(MLJBase.transform(mach, (df, df2)))
Test.@test !isnothing(MLJBase.fitted_params(mach))
Expand All @@ -165,10 +161,6 @@ Test.@testset "Fit Tests" begin
model = ContinuousNormalizingFlows.ICNFModel(icnf; n_epochs, adtype)
mach = MLJBase.machine(model, df)

if (GROUP != "All") && inplace
continue
end

Test.@test !isnothing(MLJBase.fit!(mach))
Test.@test !isnothing(MLJBase.transform(mach, df))
Test.@test !isnothing(MLJBase.fitted_params(mach))
Expand Down

0 comments on commit 07b9a64

Please sign in to comment.