From 104144980ea438bac55188fb7a72d58412fad501 Mon Sep 17 00:00:00 2001 From: Markus Hauru Date: Thu, 28 Nov 2024 16:09:46 +0000 Subject: [PATCH] Clean up RepeatSamplerTests preamble --- test/mcmc/repeat_sampler.jl | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/test/mcmc/repeat_sampler.jl b/test/mcmc/repeat_sampler.jl index fa2f69bfe..3519f7500 100644 --- a/test/mcmc/repeat_sampler.jl +++ b/test/mcmc/repeat_sampler.jl @@ -1,21 +1,9 @@ -module HMCTests +module RepeatSamplerTests using ..Models: gdemo_default -using ..ADUtils: ADTypeCheckContext -using ..NumericalTests: check_gdemo, check_numerical -import ..ADUtils -using Distributions: Bernoulli, Beta, Categorical, Dirichlet, Normal, Wishart, sample -import DynamicPPL using DynamicPPL: Sampler -import ForwardDiff -using HypothesisTests: ApproximateTwoSampleKSTest, pvalue -import ReverseDiff -using LinearAlgebra: I, dot, vec -import Random using StableRNGs: StableRNG -using StatsFuns: logistic -import Mooncake -using Test: @test, @test_logs, @testset, @test_throws +using Test: @test, @testset using Turing # RepeatedSampler only really makes sense as a component sampler of Gibbs.