From 966e4d1cdbfe21b5d304a2a3cf03f8de5ec3bcd3 Mon Sep 17 00:00:00 2001 From: Naseweisssss <89737029+naseweisssss@users.noreply.github.com> Date: Sun, 17 Nov 2024 08:36:14 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/experimental/ProbabilisticGraphicalModels/bayesnet.jl | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/experimental/ProbabilisticGraphicalModels/bayesnet.jl b/test/experimental/ProbabilisticGraphicalModels/bayesnet.jl index 2ce48b455..8e15baa95 100644 --- a/test/experimental/ProbabilisticGraphicalModels/bayesnet.jl +++ b/test/experimental/ProbabilisticGraphicalModels/bayesnet.jl @@ -222,14 +222,11 @@ using JuliaBUGS.ProbabilisticGraphicalModels: add_stochastic_vertex!(bn, :C, Normal(0, 1), false) add_edge!(bn, :A, :B) add_edge!(bn, :B, :C) - @testset "Corner Case: X or Y in Z" begin # Test case where X is in Z @test is_conditionally_independent(bn, :A, :C, [:A]) # A ⊥ C | A - # Test case where Y is in Z @test is_conditionally_independent(bn, :A, :C, [:C]) # A ⊥ C | C - # Test case where both X and Y are in Z @test is_conditionally_independent(bn, :A, :C, [:A, :C]) # A ⊥ C | A, C end