From 07b9a6496437f7018cc12124dd31dec91b70c9d0 Mon Sep 17 00:00:00 2001 From: Hossein Pourbozorg Date: Sat, 18 May 2024 20:56:58 +0330 Subject: [PATCH] enable inplace tests (#420) --- test/call_tests.jl | 4 ---- test/fit_tests.jl | 8 -------- 2 files changed, 12 deletions(-) diff --git a/test/call_tests.jl b/test/call_tests.jl index b0563e14..1ee70633 100644 --- a/test/call_tests.jl +++ b/test/call_tests.jl @@ -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 diff --git a/test/fit_tests.jl b/test/fit_tests.jl index 8c32c9cd..9b92c375 100644 --- a/test/fit_tests.jl +++ b/test/fit_tests.jl @@ -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)) @@ -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))